Ver Mensaje Individual
  #2 (permalink)  
Antiguo 26/03/2011, 05:01
Narxon
 
Fecha de Ingreso: julio-2010
Ubicación: Galicia
Mensajes: 91
Antigüedad: 13 años, 9 meses
Puntos: 9
Respuesta: error al subir ficheros

Prueba directamente:
Código PHP:
Ver original
  1. if (move_uploaded_file($_FILES['foto']['tmp_name'], $ruta))
  2. {
  3.         echo " se agrego el fichero en el servidor";
  4. } else {
  5.     echo "No funciono";}
Así lo hice yo y funciona, saludos! ^^
__________________
Si algo te sirve de ayuda no dudes en dar Karma, a tí no te cuesta nada y a mi me haces feliz =D