[nycphp-talk] pear package manager

Hans C. Kaspersetz hans at
Mon Jan 31 15:45:35 EST 2005


Sounds like your not setting the mime type correctly.

Try one of these:
application/   <--  I think this one is for xls files.  I 
think this if the one you should use.

header ("Content-Type: application/");

I think this is how you set mime-type correctly.

Hans K

Mark Withington wrote:

>Thanks Hans.  Got David's book.  It is good.  Trying to use a package that's
>not in there, Spreadsheet_Excel_Writer.  Anyone familiar with it?  I've Got
>everything up-and-flying, however, can't seem to output anythign Excel like.
>Spews the output directly to the screen of my browser rather than firing up
>Excel.  Maybe I need to adjust something local.
>Mark L. Withington
>"eBusiness for the Midsize Enterprise"
>PO Box 1354
>Plymouth, MA  02362
>o: 800-310-3992
>f: 508-746-4973
>v: 508-746-2383
>m: 508-801-0181
>Netscape/AOL/MSN IM: PLMresearch
>mwithington at
>Public Key:
>-----Original Message-----
>From: talk-bounces at
>[mailto:talk-bounces at]On Behalf Of Hans C. Kaspersetz
>Sent: Monday, January 31, 2005 2:17 PM
>To: NYPHP Talk
>Subject: Re: [nycphp-talk] pear package manager
>I like David Sklar's Essential PHP Tools.  I use it fairly regularly.  I 
>am also working my way through PHP 5 Power Programming by Andi Gutmans, 
>Stig Bakken and Derick Rethans.  PHP 5 Power Programming is a good 
>book.  The first part deals with the differences between PHP 4 and 5.  
>Then launches into some good information about OOP and Patterns and 
>follows with information about PEAR and other extensions.
>Good luck!

Hans C. Kaspersetz
Cyber X Designs

More information about the talk mailing list