napisalem skrypt ktory uploaduje 4 pliki graficzne. Tzn. zrobilem ze uploaduje 1 bo nie wiem jak zmienic kod php zeby robil 4 pliki a nie tylko jeden z formularza.
mam 2 pliki:
dodaj.htm w ktorym jest formluarz uploadu 4 zdjec
<form name="form1" method="post" action="sprawdz.php" enctype="multipart/form-data">
<table border="0" width="403" cellspacing="0" cellpadding="0"> <td width="387" height="50" valign="middle" class="form" ><strong>Opis zdjęcia:
<p class="style1">Jego treść opublikowana będzie pod obrazkiem.
</td>
<td width="287" height="50" align="center" class="form"> <p align="center"><textarea rows="3" name="image_opis" cols="30" id="item_opis" type"text" ></textarea></td>
<td width="287" height="38" align="center" class="form2"><input type="text" name="image_uzytkownik" id="image_uzytkownik" size="27">
<td width="287" height="60" align="center"><input name="image_filename" type="file" id="image_filename"></td> <td width="387" height="15" colspan="2"></td> <td width="387" height="50" valign="middle" class="form2"><strong>Opis zdjęcia:
<p class="style1">Jego treść opublikowana będzie pod obrazkiem.
</td> <td width="287" height="50" align="center" class="form2">
<p align="center"><textarea rows="3" name="image_opis" cols="30" id="image_opis" type"text" ></textarea></td> <td width="287" height="60" align="center" class="form"><input name="image_filename" type="file" id="image_filename"></td> <td width="387" height="34" colspan="2"></td> <td width="387" height="50" class="form2"><strong>Opis zdjęcia:
</strong> <p class="style1">Jego treść opublikowana będzie pod obrazkiem.
</td> <td width="287" height="50" align="center" class="form2">
<p align="center"><textarea rows="3" name="image_opis" cols="30" id="image_opis" type"text" ></textarea></td> <td width="287" height="60" align="center" class="form"><input name="image_filename" type="file" id="image_filename" ></td> <td width="387" height="29" colspan="2"></td> <td width="387" height="50" valign="middle" class="form2"><strong>Opis zdjęcia:
</strong> <p> <p class="style1">Jego treść opublikowana będzie pod obrazkiem.
</td> <td width="287" height="50" align="center" class="form2">
<p align="center"><textarea rows="3" name="image_opis" cols="30" id="image_opis" type"text" ></textarea></td> <td width="387" height="60" class="form" ><strong>Wybierz zdjęcie
</strong>:
</td> <td width="287" height="60" align="center" class="form"><input name="image_filename" type="file" id="image_filename" ></td> <td height="48" colspan="2" align="right"><input type="submit" name="Submit" value="Wyślij"> <input type="reset" name="Submit2" value="Kasuj"></td> <td height="33" colspan="2" class="form2" align="center">Przyjmowane są zdjęcia w formacie: GIF, JPG/JPEG, PNG, których waga nie przekrasza
<strong>400 kb
</strong> </td> <td width="387" height="53"></td> <td width="287" height="53"></td>
czy ktos moglby powiedziec jak zrobic zeby przsylal wiecej niz jeden plik