Producing a html form with file upload. I am working on the error checking and when the page is submited, if their is errors on it I want the pathname of the image to remain in the html file box, so the user does not have to re-select it.
ie html form:
<input name="pictures[]" type="file" size="30">
I know you can get the name via
$_FILES['userfile']['name']
but is their any way to get the full path name?
I though
$_POST['pictures'][0]
ect might work but it doesnt.