How to capture origional client machine _directory_ and file name on uploads?
| From: | J. Hill | Date: | Mon, 06 Oct 2008 15:48:07 +0000 |
| Subject: | How to capture origional client machine _directory_ and file name on uploads? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-281491@lists.php.net to get a copy of this message | ||
This should be trivial, but apparently not -- or maybe I just need more caffeine. My searches have come up empty.
I am trying to get not only the original file name on uploads, but also the original directory on the client machine as well.
The purpose is for users who make a mistake on another part of the form; when the form is returned for them to complete properly, all of the correct values are automatically filled in. That's trivial in most instances, but I'm not finding a solution for file uploads.
This seems like a common need. Any suggestions?
Thanks in advance,
Jeff