Re: File input from form not detected

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

 



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');
} 

?>



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux