[PHP] Redisplay file name on failed upload

2007-02-13 Thread Miles Thompson
When a file upload fails, not because of a problem with the upload itself, is there anyway of assigning the value captured by when the form is redisplayed? The failure may not be due to a problem with the file being uploaded, but because the user failed to complete a keywords field or some o

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

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 tag is not able to be > altered or pre-populated for obvious security reasons. > >> The script which does the validat

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 > > > > when the form is redisplayed? > > The failure may not be due to a problem with the file being uploaded, but > because the user failed

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 tag is not able to be altered or pre-populated for obvious security reasons. > The script which does the validation is the same one which conta