note 16789 added to feature-fileupload.multiple

From: Date: Tue, 13 Nov 2001 17:00:57 +0000
Subject: note 16789 added to feature-fileupload.multiple
Groups: php.notes 
Request: Send a blank email to php-notes+get-20804@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. -- http://www.php.net/manual/en/feature-fileupload.multiple.php http://master.php.net/manage/user-notes.php?action=edit+16789 http://master.php.net/manage/user-notes.php?action=delete+16789 http://master.php.net/manage/user-notes.php?action=reject+16789

« previous php.notes (#20804) next »