I have an app that uploads image files with an option to directly link the image or view it in a page. The direct link readsthe files like so:
Header("Content-type: $cMimeType");
readfile("$upload_root/$iFileID");
How do I use the file inside an IMG tag like:
<img src="$iFileID">
Or something?