Re: Spreadsheet - WriteExcel

From: Date: Mon, 15 Mar 2004 23:36:14 +0000
Subject: Re: Spreadsheet - WriteExcel
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-26435@lists.php.net to get a copy of this message
On 15 Mar 2004 at 22:27, Thomas Glenk wrote: > I want to use Spreadsheet - WriteExcel to generate more than one EXCEL-file > with one PHP-file. This is not the problem. But I would like to save the > generated files in a directory and not download these files. > > So the real Question is: > I want to save a generated file in a certain directory of the server. I > don't wont to download the file. > What can I do? Hi Thomas, I asume you have already had a look in the manuals, have you? If I got your problem correctly here is also your solution: http://pear.php.net/manual/en/package.fileformats.spreadsheet-excel- writer.intro.php Just give a filename (including optional path) in the constructor, and your file will be saved instead of sent to stdout. Though I haven't yet used it myself I had a look at the source also - and it should work as described without any problem. If this didn't help you, please mail again to the list (!) and explain your problems in more detail. PS: For such a general problem better use pear-general next time. Kind regards, Stefan

« previous php.pear.dev (#26435) next »