Ver Mensaje Individual
  #7 (permalink)  
Antiguo 18/07/2007, 03:28
Avatar de jerkan
jerkan
 
Fecha de Ingreso: septiembre-2005
Mensajes: 1.607
Antigüedad: 18 años, 7 meses
Puntos: 19
Re: Proteger archivos usuarios registrados

La opción que te puso GatorV no te sirve? Yo creo que debería funcionar perfectamente. En esta línea:
Código PHP:
header('Content-Disposition: attachment; filename="'.$archivo.'"'); 
le estás diciendo al php qué nombre tiene que tener el archivo. No la url del mismo.