header("Content-type: application/octet-stream"); header("Content-Disposition: attachment; filename=reports.xls"); header("Pragma: no-cache"); header("Expires: 0"); print "$header\n$data";
peter vercauteren wrote on Wednesday 27th of July 2011:Okay, sill try and do that. But where can I find the documentation on the download() function?
Doesn't seem to be in the file docs...
It looks like you're new here. If you want to get involved, click one of these buttons!