note 16789 deleted from feature-fileupload.multiple by jimw
| From: | jimw@php.net | Date: | Fri, 07 Dec 2001 02:16:43 +0000 |
| Subject: | note 16789 deleted from feature-fileupload.multiple by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-21811@lists.php.net to get a copy of this message | ||
If you post more than exact 21 file at once, using multipart/form, you'll notice errors. I use
apache Apache/1.3.20 (Win32) PHP/4.0.6 and it took me two day to find this out.
--file test.php----------
<form method="POST" enctype="multipart/form-data" action="dump.php"
>
<input type="file" name="userfile[]"><br>
<input type="file" name="userfile[]"><br>
<input type="file" name="userfile[]"><br>
.
.
>21 times
.
.
<input type="file" name="userfile[]"><br>
<input type="submit" value="Send">
--file: dump.php--------
<?php
print_r ( $HTTP_POST_FILES );
?>
You'll notice that the last part of the array is missing.