I got a simple upload photo thingie working. I have set it up, like
- 1 user set the amount of photos he wants to upload
- 2 with
I show the appriopiate amount of input fields
$num = $_REQUEST['numOfPhotos'];
<input name="file" type="file" maxlength="255">
-3 than I call a upload script
this all works for a maximum of 6 photos, if I want to upload say 9 the last 3 aren't being uploaded.
$uploaded_file = $HTTP_POST_FILES['file'];
$numFiles = count($HTTP_POST_FILES['file']);
echo $numFiles;//test purpose
while( $counter <= $numFiles )
if($uploaded_file['size'][$counter] > 0)
here all the check, insert upload ......
Any idea how come?