Hi!
I am uploading images to a db. But before, I want to review the picture and maybe write some description along with it.
I am using a button, input type="file", when I submit the picture to another page my variable $form_data changes to some .tmp file, like 'C:\WINNT\php14B.tmp'.
Where does my orginal path and picture name go?
Other thing: I tried to print out the image using this .tmp file:
print "<img src='$form_data' width='100'>";
...it didn't work! But the strange thing is this: when I added the phpinfo() function at the bottom of the page the picture appeared just fine!
Can sombody explain this to me?
Thank you very much,
Svanur