![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
03/02/2007, 12:19
|
| | Fecha de Ingreso: junio-2003
Mensajes: 778
Antigüedad: 21 años, 8 meses Puntos: 1 | |
Re: Proteger ficheros Prueba con estas cabeceras
header('Content-type: application/zip');
header('Content-Disposition: attachment; filename="'.$file.'"');
header ("Content-Length: ".filesize($file));
header("Pragma: no-cache");
header("Expires: 0");
readfile($file); |