void Spreadsheet_Excel_Writer::send (
string $filename
)
Send HTTP headers with the correct content-type (application/vnd.ms-excel), cache control and filename for the file.
string $filename
-
The filename to use for HTTP headers
This function can be called statically, but it is easiest when called from the workbook object.
Using send()
<?php
$workbook->send('filename.xls');
?>