Re: [PHP] Works in Mozilla, not in IE

2004-06-28 Thread Red Wingate
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

Re: [PHP] Works in Mozilla, not in IE

2004-06-28 Thread Matt M.
> 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

Re: [PHP] Works in Mozilla, not in IE

2004-06-28 Thread Matthew Sims
> * 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

Re: [PHP] Works in Mozilla, not in IE

2004-06-28 Thread Curt Zirzow
* 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

RE: [PHP] Works in Mozilla, not in IE

2004-06-28 Thread Robert Sossomon
] 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

RE: [PHP] Works in Mozilla, not in IE

2004-06-28 Thread Frank M. Kromann
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

Re: [PHP] Works in Mozilla, not in IE

2004-06-28 Thread Torsten Roehr
"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

RE: [PHP] Works in Mozilla, not in IE

2004-06-28 Thread Robert Sossomon
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

Re: [PHP] Works in Mozilla, not in IE

2004-06-28 Thread Frank M. Kromann
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

[PHP] Works in Mozilla, not in IE

2004-06-28 Thread Robert Sossomon
I have the script below from another source, and it works prefectly in Mozilla, however IE keeps wanting to save the PHP page and then barfs. Any ways to fix and make it work for both? TIA! Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u