Bonjour
j'essaye d'uploader beaucoup de fichiers d'un utlisateurautomatique
que je récupere dans un truc du genre :Code:echo "<input type=\"file\" name=\"photo[$j]\" size=\"30\">\n";
y a t'il moyen de faire un truc comme ca qui marche?Code:
1
2
3 @$Photo=$_POST['Photo']; if( (isset($_FILES[photo[$j]]['tmp_name'])))...
sinon dois-je faire :
Code:echo "<input type=\"file\" name=\"photo$j\" size=\"30\">\n";
Code:
1
2
3
4
5
6
7 for ($j=0;$j<nbval;$j++) { $var="photo".$j; $$var=$_POST[$$var]; } if( (isset($_FILES["photo$j"]]['tmp_name'])))...
d'avance merci