For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > July 2007 > Using Excel Spreadsheet Writer









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Using Excel Spreadsheet Writer
Tom Synnott

2007-07-16, 7:03 pm

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?

Thanks!
Mark Wiesemann

2007-07-16, 7:03 pm

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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com