Cita:
de ante mano gracias... form method="post" action="a.php" enctype="multipart/form-data">
<input type="file" name="foto[]"><br>
<input type="file" name="foto[]">
<input type="submit" value="ok">
</form>
<?
$img = $_FILES[foto][name];
$img_a = implode(",",$img);
$ruta = "img/" . $img_a;
?>
<input type="file" name="foto[]"><br>
<input type="file" name="foto[]">
<input type="submit" value="ok">
</form>
<?
$img = $_FILES[foto][name];
$img_a = implode(",",$img);
$ruta = "img/" . $img_a;
?>