Re: saving the client's file upload location
| From: | Richard Lynch | Date: | Wed, 15 Aug 2001 04:55:12 +0000 |
| Subject: | Re: saving the client's file upload location | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-62765@lists.php.net to get a copy of this message | ||
> i have people upload a file from their computer but if my form comes
> back with an error then they have to go select their file location
> again. is there any way of saving that location so they don't have to
> pick it again??? ====> upload file [ c:/temp/picture.jpg ]
Not really. As a measure of security, you aren't told the original path on
their hard drive of the file, so you can't use that tiny scrap of knowledge
to try and hack their system.
As a matter of privacy, you're told nothing more about their system than you
need to know.
You *CAN* have them hit the back button and click "upload" again, and that
works in most browsers, if you aren't expiring the pages.
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm