James Keeline wrote: > --- Brian Cummiskey <[EMAIL PROTECTED]> wrote:
>>//------------------------ >>header("Content-Type: application/vnd.ms-excel; name='excel'"); >>header("Content-disposition: attachment; filename='report_" >>.date("Y-m-d").".xls'"); >>header("Content-Transfer-Encoding: BINARY"); >>//----------------------- > > Some of the behavior you are describing may be attributed to browser settings > for handling this MIME type. > > You might try an "inline" disposition rather than "attachment" to see if that > helps any. > > Also, some software clients may be picky about the capitalization. I normally > use Content-type: not Content-Type: > it's doing it in both firefox and IE on mulitple machines, so i think browser settings/mime types aren't the issue. I have other asp-generated pages here at the office with <% Response.ContentType = "application/vnd.ms-excel" %> that open up just fine with one click, so i'm pretty sure its code-related. I lowercased the "type" but no change... changing from attachment to inline produced the excelsheet embedded in the browser on IE, and thats not what i'm after (especialyl because when you go to save it, it wants to save it as a webpage, not an excel xls... and once again, i think this will just confuse the not-so-savvy client) If you have any other ideas, i'm all ears (err... eyes?) Thanks, -B ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/HKFolB/TM --------------------------------------------------------------------~-> Community email addresses: Post message: php-list@yahoogroups.com Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/