$_FILES path on client's machine?
| From: | Skip Evans | Date: | Sun, 18 Feb 2007 02:19:21 +0000 |
| Subject: | $_FILES path on client's machine? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-248987@lists.php.net to get a copy of this message | ||
Hey all,
I get the feeling from not finding an argument for the path on the client's machine for the complete path of a file in $_FILES that it might not be available for security reasons?
The reason I am interested in this is to restore the value of a input type='file' field in a form if the user has to return to the form for validation reasons.
I'd like to restore the full value so the user does not have to browse the file again.
Is there a way to do this?
I thought perhaps there might be a $_FILES['image']['path'] value or something.
Thanks!
--
Skip Evans
Big Sky Penguin, LLC
61 W Broadway
Butte, Montana 59701
406-782-2240
=-=-=-=-=-=-=-=-=-=-=
Check out PHPenguin, a lightweight and versatile
PHP/MySQL development framework.
http://phpenguin.bigskypenguin.com