Re: form validation wih html input FILE
| From: | Richard Davey | Date: | Wed, 05 May 2004 13:36:17 +0000 |
| Subject: | Re: form validation wih html input FILE | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-185422@lists.php.net to get a copy of this message | ||
Hello Vincent,
Wednesday, May 5, 2004, 2:26:44 PM, you wrote:
VD> Will I be limited to display a warning message indicating
VD> that the user will have to select his/her file again??
Pretty much, yes. Or you could do what I do - store the file in a
temporary folder, passing the filename back to the form again. So the
user doesn't have to upload a 2nd time - but if they don't bother
re-submitting the form, this folder is cleared out every hour via a
cron job.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html