I have a php program that will upload html files and manipulate them. I want to get the full path of the file on the remote user. For instance
$FILES['UseTemplate']['name']; will get me the name of the file but not he full path that appears in the web browser
$FILES['UseTemplate']['tmp_name']; will get me the full path of the file on the server.
Why? I want to prompt the user to upload the image files that go with the html page and it might help if they had the full location.
e.g. if a file is located a /home/username/test.html and the image file is located a /images/pictname.jpg it would be nice to but in the file file box /home/username/images/pictname.jpg elimination the need fo them to browse for the image.
and ideas?
Thanks