imagesource

Displaying an image in php from a file in a directory

I have several images in a directory which is located outside of the public facing portion of the server (outside of the public_html directory). I want to be able to read the image contents with a php file, then output the result to html. For example, I have a php file called getimg.php with the following source code: header('Content-...