Bonjour
j'essaye d'uploader beaucoup de fichiers d'un utlisateurautomatique
echo "<input type=\"file\" name=\"photo[$j]\" size=\"30\">\n";
que je récupere dans un truc du genre :
1 2 3
| @$Photo=$_POST['Photo'];
if( (isset($_FILES[photo[$j]]['tmp_name'])))... |
y a t'il moyen de faire un truc comme ca qui marche?
sinon dois-je faire :
echo "<input type=\"file\" name=\"photo$j\" size=\"30\">\n";
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
Partager