[PHP-DEV] Bug #11309 Updated: upload file From: marszhang <email protected>
Date: 06/13/01

ID: 11309
User Update by: marszhang <email protected>
Status: Bogus
Bug Type: HTTP related
Operating system: redhat linux7.0
PHP Version: 4.0.5
Description: upload file

But I used this script in php4.0.2,it's OK!

Previous Comments:
---------------------------------------------------------------------------

[2001-06-06 13:06:22] sniper <email protected>
This is not bug in PHP but bug in your script.
Do not mix different types into same array.

--Jan

---------------------------------------------------------------------------

[2001-06-06 10:33:20] marszhang <email protected>
codes:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<form action="test6.php" method="post"
enctype="multipart/form-data">
        Send these files:<br>
      <input name="userfile[]" type="file"><br>
      <input name="userfile[]" type="text"><br>
      <input name="userfile[]" type="file"><br>
      <input type="submit" value="Send files">
</form>
<?php
     print_r($userfile);
?>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
input:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:zhangxg

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>