Re: How to capture origional client machine _directory_ and file nameon uploads?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



J. Hill 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 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



AFAIK that info is outside the security sandbox of web browsers; just like you can't resend the file or autopopulate what file you want them to upload.

only way is to use a third party browser extension or app; java uploader or such like and you may have some luck.

--
nathan ( nathan@xxxxxxxxxxx )
{
  Senior Web Developer
  php + java + flex + xmpp + xml + ecmascript
  web development edinburgh | http://kraya.co.uk/
}

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux