![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
18/12/2009, 17:47
|
![Avatar de angel1993](http://static.forosdelweb.com/customavatars/avatar325038_2.gif) | | | Fecha de Ingreso: octubre-2009
Mensajes: 752
Antigüedad: 15 años, 4 meses Puntos: 22 | |
Respuesta: Upload dudas $uploads_dir = '/fotos';
$name="foto120";
copy($_FILES['foto']['tmp_name'],$_FILES['foto']['name']);
echo "La foto se registro en el servidor.<br>";
$nom=$_FILES['foto']['name'];
echo "<img src=\"$nom\">";
move_uploaded_file($tmp_name,"$uploads_dir/$name");
No funcions |