[prev in list] [next in list] [prev in thread] [next in thread]
List: php-general
Subject: Re: [PHP] input type=file problem
From: Edward Vermillion <evermillion () doggydoo ! net>
Date: 2005-07-30 21:35:39
Message-ID: 42EBF2AB.7000106 () doggydoo ! net
[Download RAW message or body]
Ryan A wrote:
> Hey,
>
> Heres what I am doing, I have a form where a user can enter values and in
> the form I have a FILE box so the
> user can upload her pic, if she screws up anywhere (eg: putting an alphabet
> in her date of birth) I send her back
> to the form and her date of birth gets highlighted plus the value she
> entered comes in the date of birth and also
> an error explanation underneith....so far so good.
>
> The problem is, if she has tried to upload a pic at the same time and
> screwed up on the date of birth I am unable
> to send back the value of the FILE box so that too get populated... I tried
> setting a VALUE="path/file" but that
> does not work.
>
> What am I missing here?
>
> Thanks,
> Ryan
>
As far as I know, you can't set the initial values for 'file' inputs.
It's a security thing.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic