Código:
Pero no se como ponerlo con proteccion header('Content-type: application/vnd.ms-excel'); header("Content-Disposition: attachment; filename=archivo.xls"); header("Pragma: no-cache"); header("Expires: 0");
![Negando](http://static.forosdelweb.com/fdwtheme/images/smilies/negar.gif)
Gracias