[PHP] How to capture origional client machine _directory_ and file name on uploads?

2008-10-06 Thread J. Hill
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

Re: [PHP] How to capture origional client machine _directory_ and file name on uploads?

2008-10-06 Thread Eric Butera
On Mon, Oct 6, 2008 at 11:48 AM, J. Hill [EMAIL PROTECTED] wrote: 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

Re: [PHP] How to capture origional client machine _directory_ and file name on uploads?

2008-10-06 Thread Richard Heyes
Any suggestions? Yes, keep your pesky nose out. It's my machine and my file system is none of your business. Simply, you get whatever is in $_FILES and that's it. From memory thats the filename, the path to it on your machine, and size info. And maybe something else. Try print_r()ing $_FILES,

RE: [PHP] How to capture origional client machine _directory_ and file name on uploads?

2008-10-06 Thread Boyd, Todd M.
-Original Message- From: J. Hill [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2008 10:48 AM To: php-general@lists.php.net Subject: [PHP] How to capture origional client machine _directory_ and file name on uploads? This should be trivial, but apparently not -- or maybe I

Re: [PHP] How to capture origional client machine _directory_ and file name on uploads?

2008-10-06 Thread J. Hill
[Sorry Nathan.] Yes, I should have said autopopulate. And from what I have found, you're right; it does appear java applets can do it, but I had hoped to avoid that option. Eric Butera -- The file upload will only exist in the specified temp directory . . .. Perhaps I should have explained

Re: [PHP] How to capture origional client machine _directory_ and file name on uploads?

2008-10-06 Thread Ashley Sheridan
On Mon, 2008-10-06 at 12:35 -0400, J. Hill wrote: [Sorry Nathan.] Yes, I should have said autopopulate. And from what I have found, you're right; it does appear java applets can do it, but I had hoped to avoid that option. Eric Butera -- The file upload will only exist in the