Re: upload file - clients path to file?
| From: | Mark Rees | Date: | Tue, 30 Aug 2005 10:08:08 +0000 |
| Subject: | Re: upload file - clients path to file? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-221576@lists.php.net to get a copy of this message | ||
> Hi all.
>
> I havent found an answer after looking at the manual. I'm trying to find
> out if it possible to find the path of the file on the clients pc once
> a form has been submitted with the file upload form.
No, this would be a security risk. If all your users are on an intranet,
you may be able to implement some kind of client-side scripting to discover
the location, then post it as part of the form. Even this will probably
involve amending local security settings on each machine.
> I know its possible to get the file name but I need the whole path.
What do you need it for? Perhaps there is another way to solve this problem?
> is this possible?
> thanks in advance.
>
> --
>
> Angelo Zanetti
>
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.