RE: [PHP] Getting uploaded filename & directory

2001-11-12 Thread Luboslav Gabal ml.
> In setting up a form to allow a user to upload a file, > upon submission of that form, you can get the actual > file name that is being uploaded by accessing the > variable: > > $userfile_name > > (assuming the form element's name where the user > specifies the file is "$userfile"). > > Is th

Re: [PHP] Getting uploaded filename & directory

2001-11-12 Thread Christopher William Wesley
If the path doesn't ride along in the _name variable (and I don't know of a case when it would), Nope. The value of the input element when the type = file isn't useable, except as an initial file name, so using JavaScript won't be helpful. I think the input element is implemented for type = file

[PHP] Getting uploaded filename & directory

2001-11-12 Thread Boget, Chris
In setting up a form to allow a user to upload a file, upon submission of that form, you can get the actual file name that is being uploaded by accessing the variable: $userfile_name (assuming the form element's name where the user specifies the file is "$userfile"). Is there a way to get the f