Ver Mensaje Individual
  #2 (permalink)  
Antiguo 14/11/2008, 13:45
Avatar de oso96_2000
oso96_2000
 
Fecha de Ingreso: junio-2002
Ubicación: Distrito Federal
Mensajes: 558
Antigüedad: 21 años, 10 meses
Puntos: 35
Respuesta: Mover archivo a directorio

Debería funcionar con poner:
Código php:
Ver original
  1. $destination_path = getcwd().DIRECTORY_SEPARATOR . 'img' . DIRECTORY_SEPARATOR;
o simplemente:
Código php:
Ver original
  1. $destination_path = './img/';

Si solo usas /img entonces estas usando una ruta absoluta.

Saludos
__________________
Sin Ideas