señor .php:
le escribo desde mi oficina, luego de estar 32 horas sin dormir, con 3 cajetillas de cigarros en el cuerpo y 2 botellas de whiskey.
esto puso fin a mi sufrimiento y salvo mi trasero:
Código PHP:
<?php
header('Content-type: application/vnd.ms-excel');
header("Content-Disposition: attachment; filename=archivo.xls");
header("Pragma: no-cache");
header("Expires: 0");
?>
mil gracias