[Phpwm] Spreadsheet/Excel/Writer.php

alan dunn alan at dunns.co.uk
Fri Nov 10 14:16:52 GMT 2006


hi James
I have:
$workbook = new Spreadsheet_Excel_Writer();

// sending HTTP headers
$workbook->send('testfile.xls');

// create the content

$workbook->close();

I copied the code right off the pear page!

James Timbrell wrote:
> Hi Alan,
>
> How is the .xls file getting to your desktop?
>
> The way I've used Spreadsheet_Excel_Writer is that the excel file gets
> generated on the server in a specified directory, and once it's created I
> show a hyperlink which the user can then click to download/open the file.
>
> Just wondering what your setup is.
>
> James.
>



More information about the Phpwm mailing list