Ver Mensaje Individual
  #5 (permalink)  
Antiguo 18/09/2007, 03:10
Fitoyes
 
Fecha de Ingreso: enero-2005
Mensajes: 38
Antigüedad: 20 años
Puntos: 0
Re: Problema para subir imagenes al server

Te refieres que lo utilice así??

if (move_uploaded_file($HTTP_POST_FILES['userfile']['tmp_name'], chmod($nombre_archivo,0777))){
//copy($HTTP_POST_FILES['userfile']['tmp_name'], "/test2/images/100");
}else{
echo "Ocurrió algún error al subir el fichero. No pudo guardarse.";
}
}

o lo meto dentro del if???