Re: URGENT:Passing input type file

From: Date: Fri, 26 Jan 2001 22:02:41 +0000
Subject: Re: URGENT:Passing input type file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-36898@lists.php.net to get a copy of this message
> Hi, how can I pass an input type of file? I can get the value & I am able to > open the specified file when I pass it from the original form to the second > form but when I pass the value from the second form to the third form using > the hidden type, the file cannot be found... please help. It's somewhere in the PHP manual. The uploaded file gets a temporary name, not the original name, and makes several vars for you, if i remember well they are $file.name $file.user or $file_user and $file.size but have a look at the manual. The name of the file input field if you called it $upl_file would have the file_name on the server. So anyways you have to pass something else on than just the hidden $upl_file Chris -------------------------------------------------------------------- -- C.Hayes Droevendaal 35 6708 PB Wageningen the Netherlands -- --------------------------------------------------------------------

« previous php.general (#36898) next »