RE: [PHP] Redisplay file name on failed upload

2007-02-13 Thread Brad Fuller
Is it possible to assign form[ upldFile ] = C:\somepath\somefile or form[ upldFile ] = $_FILES['userfile']['name'] The value attribute of the input type=file... tag is not able to be altered or pre-populated for obvious security reasons. The script which does the validation is the same one

Re: [PHP] Redisplay file name on failed upload

2007-02-13 Thread Jochem Maas
Miles Thompson wrote: When a file upload fails, not because of a problem with the upload itself, is there anyway of assigning the value captured by input name=upldFile type=file when the form is redisplayed? The failure may not be due to a problem with the file being uploaded, but

Re: [PHP] Redisplay file name on failed upload

2007-02-13 Thread Jochem Maas
Brad Fuller wrote: Is it possible to assign form[ upldFile ] = C:\somepath\somefile or form[ upldFile ] = $_FILES['userfile']['name'] The value attribute of the input type=file... tag is not able to be altered or pre-populated for obvious security reasons. The script which does the

Re: [PHP] Redisplay file name on failed upload

2007-02-13 Thread Miles Thompson
Thanks guys - I guess the staging area is the way we'll go. (This is from gmail, I'm not used to it, so if I included all of the prev msgs, please forgive me.) Thanks - Miles