Re: Using Excel Spreadsheet Writer
| From: | Mark Wiesemann | Date: | Mon, 16 Jul 2007 16:33:54 +0000 |
| Subject: | Re: Using Excel Spreadsheet Writer | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-27672@lists.php.net to get a copy of this message | ||
Hi Tom,
Tom Synnott wrote:
> Hi all... Am wondering I know I can use the following '$xls->send
> ("example.xls");', I am wondering is there anything in this class
> where I can upload the file automatically to my server? As opposed to
> downloading it?
Not sure whether I got your question right, but I guess that you are
searching for these lines of code:
$xls =& Spreadsheet_Excel_Writer('example.xls');
// do something, e.g. write
$xls->close();
The send() method is meant for "sending" (e.g. to the browser). ;-)
Regards,
Mark
--
http://www.markwiesemann.eu