Re: Re: upload file - clients path to file?

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

 



Thanks for the replies.

Well basically i need it for an "add products" page and if the users doesnt fill
in all the fields correctly I display some error message as well as populate the
textfields and dropdown lists with the values they previously entered, so if
they entered/selected the file I want to display it again so they don't have to
upload the file again. I know that I could do it without the user knowing
(backed) but then they might think they have to select the file again because
the upload field will be blank.


Quoting Mark Rees <mrees@xxxxxxxxxxxxxxxxx>:

> > 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.
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

-- 
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