
30/08/2009, 04:39
|
 | | | Fecha de Ingreso: abril-2005
Mensajes: 878
Antigüedad: 19 años, 11 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? |