I wish there wouldn't be so many ppl using IE anyway :)
Matthew Sims wrote:
* Thus wrote Robert Sossomon:
That just put me right back at the beginning, IE trying to DL the PHP
page...
put your disposition back to attachment and send the vnd.ms-excel
content type.
Also, on how the behaviour IE will
> That just put me right back at the beginning, IE trying to DL the PHP
> page...
>
> I have php 4.2.2 installed at this moment as well...
there might be some things you could try in this thread
http://marc.theaimsgroup.com/?l=php-general&m=108361967402210&w=2
--
PHP General Mailing List (http
> * Thus wrote Robert Sossomon:
>> That just put me right back at the beginning, IE trying to DL the PHP
>> page...
>
> put your disposition back to attachment and send the vnd.ms-excel
> content type.
>
> Also, on how the behaviour IE will treat any header is
> unpredictable in an unctontrolled e
* Thus wrote Robert Sossomon:
> That just put me right back at the beginning, IE trying to DL the PHP
> page...
put your disposition back to attachment and send the vnd.ms-excel
content type.
Also, on how the behaviour IE will treat any header is
unpredictable in an unctontrolled environment, so
]
Subject: RE: [PHP] Works in Mozilla, not in IE
You also need to change
header("Content-type: application/octet-stream");
to
header("Content-type: application/vnd.ms-excel");
- Frank
> That just made IE put it out in "data" style, Excel didn't op
s?
>
> -Original Message-
> From: Frank M. Kromann [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 28, 2004 2:47 PM
> To: Robert Sossomon
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Works in Mozilla, not in IE
>
>
> Hi Robert,
>
> This line
>
> heade
"Robert Sossomon" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> That just made IE put it out in "data" style, Excel didn't open up.
>
> :(
>
> Any other thoughts?
Have you tried using PEAR's HTTP_Download? You can set several options for
various header commands:
http://pear.php.net
That just made IE put it out in "data" style, Excel didn't open up.
:(
Any other thoughts?
-Original Message-
From: Frank M. Kromann [mailto:[EMAIL PROTECTED]
Sent: Monday, June 28, 2004 2:47 PM
To: Robert Sossomon
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Works in Moz
Hi Robert,
This line
header("Content-Disposition: attachment; filename=customers.xls");
forces IE to save. If you change attachment to inline it will open the
Excel in the plug-in imbeded in the browser.
- Frank
> I have the script below from another source, and it works prefectly in
> Mozilla
9 matches
Mail list logo