Ver Mensaje Individual
  #6 (permalink)  
Antiguo 30/08/2009, 04:39
Avatar de humanista
humanista
 
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?