Retrive full path name from uploaded file
How can I retrieve the full path name of a file a user has just uploaded using my script? The script uses a form with an input type="file".
the $_FILE['userfile']['name'], $HTTP_POST_FILES['userfile']['name'] and $userfile_name only produce the file name that was uploaded. I want the dirname as well.