post files array and registered globals off
| From: | electroteque | Date: | Sun, 17 Nov 2002 10:16:47 +0000 |
| Subject: | post files array and registered globals off | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-124784@lists.php.net to get a copy of this message | ||
hi i need to do a foreach on post files array ie
<input type=file name=photo[]>
_REQUEST['photo'] or _POST['photo'] doesnt work
only _FILES['photo'] works and if i do a foreach on this it gets the 5
associated array values for it not on the input value array ? say i had 2
input files i should get a count of 2 not 5 :|