This works properly on IE for Mac for redirecting users to download a file:
Header("Refresh: 0;URL=http://www.mywebsite.com/junk.zip"); HOWEVER, it clears the web page which is very confusing to users. It's unsuitable for dynamic PHP sites. <sigh> The only other way to go, I think, is to write my own custom version of PHP's Header() function. Any other thoughts? FB >From: "Chris Newbill" <[EMAIL PROTECTED]> >To: "'Fred B'" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> >Subject: RE: [PHP-DEV] Re: Bug #14653 Updated: Internet Explorer for >Macintosh receives bad HTTP header info from PHP Header() >Date: Sat, 22 Dec 2001 12:54:28 -0700 > >http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.14 > >This would be a good document to look over for possible workarounds. > >You should also try http://support.microsoft.com/ and see if they have a >KB issue on it. > >-Chris > >-----Original Message----- >From: Fred B [mailto:[EMAIL PROTECTED]] >Sent: Saturday, December 22, 2001 7:26 AM >To: [EMAIL PROTECTED] >Subject: [PHP-DEV] Re: Bug #14653 Updated: Internet Explorer for >Macintosh receives bad HTTP header info from PHP Header() > > >Can you suggest a workaround since it appears that lots of >PHP code uses this PHP Header() redirect to setup files for >users to download from sites? > >FB > > >From: Bug Database <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: Bug #14653 Updated: Internet Explorer for Macintosh receives >bad > >HTTP header info from PHP Header() > >Date: 22 Dec 2001 09:16:21 -0000 > > > >ATTENTION! Do NOT reply to this email! > >To reply, use the web interface found at > >http://bugs.php.net/?id=14653&edit=2 > > > > > >ID: 14653 > >Updated by: sander > >Reported By: [EMAIL PROTECTED] > >Old Status: Open > >Status: Bogus > >Bug Type: HTTP related > >Operating System: Free-BSD 4.4 > >PHP Version: 4.0.6 > >New Comment: > > > >Not a bug in PHP. Microsoft is just not able to write proper software. > > > >Previous Comments: > >----------------------------------------------------------------------- >- > > > >[2001-12-21 19:05:02] [EMAIL PROTECTED] > > > >The PHP Header() function isn't passing the correct HTTP redirect info >to > >Internet Explorer 5.x for Macintosh. > > > >program index.php: > > > ><?php > > > >Header("Location: http://www.mywebsite.com/junk.zip"); > > > >?> > > > >---------- > > > >When this program is executed from Internet Explorer 5.0 or 5.1 for > >Macintosh, the file junk.zip will download correctly but it will be >given > >the name index.php instead of junk.zip > > > >--Fredb > > > > > > > > > >----------------------------------------------------------------------- >- > > > > > > > > >_________________________________________________________________ >Chat with friends online, try MSN Messenger: http://messenger.msn.com > > >-- >PHP Development Mailing List <http://www.php.net/> >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]