Re: File input from form not detected

From: Date: Fri, 30 May 2003 13:25:29 +0000
Subject: Re: File input from form not detected
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-28162@lists.php.net to get a copy of this message
on 05/30/2003 9:16 AM, Dewi Wahyuni at xueh@lycos.com appended the following bits to my mbox: > if($userfile) it fails. BUT $userfile_name is able to display the filename . > > With print_f($HTTP_POST_VARS) also the userfile was not displayed, only other > input element which is Maximum file size is displayed Hi Dewi, I think you posted to the wrong list. You should probably be posting to PHP-GENERAL. Have you read through the manual page and all of the comments yet? <http://www.php.net/manual/en/features.file-upload.php> Some tips: - If you are using PHP 4.1 or above, you should probably be looking at the $_FILES array. - You must add an encoding type to the form -> enctype="multipart/form-data" HTH. Sincerely, Paul Burney <http://paulburney.com/> <?php // the statement formerly known as prince if ($the_elevator == 'tries to bring you down') { go_crazy('punch a higher floor'); } ?>

« previous php.db (#28162) next »