I am uploading a file to my server using php to copy the file from a "file input form field"...the file copies with no problem...however I would like to somehow get the URL of the file after I have copied it to my server...I know the directory of where the file name is (http://www.myserver.com/images/), but how do I append the actual file name (say picture.jpg) to this URL from the input given in the form field?
any suggestions?
plz e-mail me
matt
echo ("<img src=\"http://www.myserver.com/images/$fileformfeildname\">");
That should display the picture that was just submitted.
to change its file name you would go like copy($fileinput,"newfilename.jpg"); kinda thing good luck