On Saturday 25 May 2002 01:15, Anil Garg wrote:
> Hi,
>
> I am using php
>
> In a html form m using:<input type=file name=file size=30>
> When i submit the form and try to retrieve the path written in the text box
> by using 'printf("%s",$file)' it returns a path "/var/tmp/trash" ...
> How can i print the path selected by browse button.
Put simply, you can't. The browser gives only the filename.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
VICARIOUSLY experience some reason to LIVE!!
*/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php