Displaying an image from the tmp directory
- by Roland
I have the following. A website that create temporarily images in the /tmp folder on the Linux server. The reason why I store it within this folder is since these images need to be cleared once in a while and it's so much easier just to clear the tmp directory using tmpwatch. Now my issue is to display the image within my browser?
Code
<img src="/tmp/3d34636.png" alt="image" />
I'm running Centos with PHP