[SOLVED] - Max No Of File Uploads
Posted: Mon Aug 09, 2004 11:13 pm
I have this is code for mutiple file uploads :
echo count($_FILES['HousePhotos']); is always displaying 5. I even tried using 10 html lines of <INPUT TYPE="file"> and still it shows 5.
Anyidea how to have this fixed ?
Thanks
Code: Select all
<?php if (isset($_POST['hiddenFile'])) echo count($_FILES['HousePhotos']); ?>
<FORM ACTION="" METHOD=POST NAME="frm" ENCTYPE="multipart/form-data">
<INPUT TYPE=hidden NAME="hiddenFile">
<TABLE>
<?php
for ($i=0;$i<10;$i++)
{
?>
<TR><TD>Photo <? echo ($i+1); ?> : </TD><TD><INPUT TYPE="file" NAME="HousePhotos[]"></TD></TR>
<?
}
?>
<TR><TD><INPUT TYPE=submit NAME=subMit VALUE=Send></TD></TR>
</TABLE>
</FORM>Anyidea how to have this fixed ?
Thanks