Re: Spreadsheet_Excel_Writer Help
| From: | Justin Patrin | Date: | Thu, 24 Jun 2004 20:53:57 +0000 |
| Subject: | Re: Spreadsheet_Excel_Writer Help | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13321@lists.php.net to get a copy of this message | ||
I believe that the docs say not to use the filename if you want to send it.
On Thu, 24 Jun 2004 16:50:27 -0400, Scott Mattocks <scott@crisscott.com> wrote:
> I found the solution to my own problem. When I created the workbook I
> did it with the optional file name like it says in the docs.
> $workbook = new Spreadsheet_Excel_Writer('filename');
>
> For some reason when I went to send the workbook using the
> send('filename') method it would start the headers for the excel file
> but then out put the web page.
>
> I don't know if this is a bug, a documenation issue or me being dumb.
>
>
>
> Scott Mattocks wrote:
> > I am having some trouble with Spreadsheet_Excel_Writer. After I call
> > send() and close() the document begins to download as expected but when
> > I open the file it is an Excel version of the page I was just visiting.
> > The correct file is in /tmp as OLE_PPS_Filejo0LoZ or some other random
> > file name but it doesn't get sent as the download. Does anyone have any
> > idea what may be going on here? I have recently upgraded to version 0.8.
> >
> > Thanks,
> > Scott Mattocks
> >
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> !DSPAM:40db3c9d23781514916534!
>
>
--
paperCrane --Justin Patrin--