Helping ordinary people create extraordinary websites!
HOME TUTORIALS SCRIPTS WEB HOSTING BLOG FORUM
Get Our Newsletter
Email:

Spreadsheet_Excel_Writer::send

Spreadsheet_Excel_Writer::send -- Send HTTP headers for the Excel file.

Description

Send HTTP headers with the correct content-type (application/vnd.ms-excel), cache control and filename for the file.

Parameter

  • string $filename - The filename to use for HTTP headers

Note

This function can be called statically, but it is easiest when called from the workbook object.