RE: [PHP] Exporting HTML to Excel

2004-10-13 Thread Vail, Warren
nt-Type is referred to as a mime header (8-}), I often see something similar in email. HTH, Warren Vail (415) 667-0240 SF211-07-434 -Original Message- From: Philip Thompson [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 6:18 AM To: Vail, Warren Cc: [EMAIL PROTECTED] Subjec

Re: [PHP] Exporting HTML to Excel

2004-10-13 Thread Chris Dowell
In an attempt to make amends, have you tried PEAR's Spreadsheet_Excel_Writer? http://pear.php.net/package/Spreadsheet_Excel_Writer It certainly works, we used it last week (although I have no *personal* experience of it) Cheers Chris Chris Dowell wrote: sorry [skulks off into dark corner to cr

Re: [PHP] Exporting HTML to Excel

2004-10-13 Thread Chris Dowell
sorry [skulks off into dark corner to cry] Philip Thompson wrote: Chris, as you may have (or may have not) noticed, I did that. Look at my original email. I wasn't sure if there was more to it than that. ~Philip On Oct 13, 2004, at 8:34 AM, Chris Dowell wrote: Header("Content-type: application/m

Re: [PHP] Exporting HTML to Excel

2004-10-13 Thread Philip Thompson
Chris, as you may have (or may have not) noticed, I did that. Look at my original email. I wasn't sure if there was more to it than that. ~Philip On Oct 13, 2004, at 8:34 AM, Chris Dowell wrote: Header("Content-type: application/ms-excel"); or whatever the content type should be (on IE you can pr

Re: [PHP] Exporting HTML to Excel

2004-10-13 Thread Chris Dowell
Header("Content-type: application/ms-excel"); or whatever the content type should be (on IE you can probably get away with application/octet-stream as it bases its decisions of file extensions for a lot of things). HTH Chris Philip Thompson wrote: How exactly would I change the mime headers? ~Ph

Re: [PHP] Exporting HTML to Excel

2004-10-13 Thread Philip Thompson
How exactly would I change the mime headers? ~Philip On Oct 12, 2004, at 5:07 PM, Vail, Warren wrote: Have you tried changing your file name to project.htm but continue issuing the mime headers for excel? Warren Vail -Original Message- From: Philip Thompson [mailto:[EMAIL PROTECTED] Sent:

RE: [PHP] Exporting HTML to Excel

2004-10-12 Thread Vail, Warren
Have you tried changing your file name to project.htm but continue issuing the mime headers for excel? Warren Vail -Original Message- From: Philip Thompson [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 12, 2004 2:21 PM To: [EMAIL PROTECTED] Subject: [PHP] Exporting HTML to Excel Hi

RE: [PHP] Exporting HTML to Excel

2004-10-12 Thread Graham Cossey
Philip, have you checked the php freaks website? I do recall seeing a script in their tutorials library that claimed to create Excel files. http://www.phpfreaks.com Just had a search and came up with: Cell 1 Cell 2 "; ?> HTH Graham > -Original Message- > From: Philip Thompson [mailt