Ver Mensaje Individual
  #3 (permalink)  
Antiguo 25/06/2005, 11:13
Avatar de dwaks
dwaks
 
Fecha de Ingreso: agosto-2002
Ubicación: Panamá
Mensajes: 962
Antigüedad: 21 años, 8 meses
Puntos: 15
Código PHP:
header("Pragma: public");
header("Expires: 0"); // set expiration time
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Content-Type: application/force-download");
header("Content-Type: application/octet-stream");
header("Content-Type: application/download");
header("Content-Disposition: attachment; filename=".basename($archivo).";");
header("Content-Transfer-Encoding: binary");
header("Content-Length: ".filesize($arch));