hi everyone
i managed to get my site to accept user uploads, and of course they are stored in a directory out of the publicly accessible part of the site.
in the old fashioned non zend way i would put this
<img src="imgFeeder.php?img=file.jpg" />
and in imgFeeder.php it would get the file from the directory, send the headers, and the image would be returned.
how would i do this in a zend way? if i call header() the page doesnt render, and i get the little image placeholder
if i dont call header, the page displays, but the image is encoded wrong and comes out as a string of heiroglyphics!
i believe it has something to do with something about this:
$this->getRequest()->getResponse()
but maybe not, can anyone help?
however, i used to use this little bit of code to