![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
30/08/2009, 04:39
|
![Avatar de humanista](http://static.forosdelweb.com/customavatars/avatar97313_3.gif) | | | Fecha de Ingreso: abril-2005
Mensajes: 878
Antigüedad: 19 años, 9 meses Puntos: 15 | |
Respuesta: mensaje antes de HEADER Hola, este es mi código:
$file = 'michero.rar';
header("Cache-Control: public");
header("Content-Transfer-Encoding: binary");
header("Content-Type: application/rar");
header("Content-Description: File Transfer");
header("Content-Type: application/force-download");
header("Content-Disposition: attachment; filename=$file");
$path = "../downloadfolder/";
readfile($path.$file);
te refieres a ponerlo después del último header? |