[PHP] Re: upload file - clients path to file?

2005-08-30 Thread Mark Rees
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

Re: [PHP] Re: upload file - clients path to file?

2005-08-30 Thread angelo
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

Re: [PHP] Re: upload file - clients path to file?

2005-08-30 Thread Mark Rees
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] 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

Re: [PHP] Re: upload file - clients path to file?

2005-08-30 Thread Torgny Bjers
IMHO this is just a design issue, why not just hide the upload field, display a message that they need not re-upload, and just add a hidden field with the name of the uploaded file and once they've corrected their fields, they re-post, and viola, you've got your file still. [EMAIL PROTECTED]

Re: [PHP] Re: upload file - clients path to file?

2005-08-30 Thread Jasper Bryant-Greene
[EMAIL PROTECTED] wrote: 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

Re: [PHP] Re: upload file - clients path to file?

2005-08-30 Thread Angelo Zanetti
Angelo Zanetti Z Logic www.zlogic.co.za [c] +27 72 441 3355 [t] +27 21 469 1052 Jasper Bryant-Greene wrote: [EMAIL PROTECTED] wrote: 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