Re: [PHP-DEV] Re: Bug #14653 Updated: Internet Explorer for Macintosh receives bad HTTP header info from PHP Header()

2001-12-22 Thread Markus Fischer

On Sun, Dec 23, 2001 at 01:25:28AM -0600, Fred B wrote : 
> Is the PHP Header() function defined in
> the file servlet.java that's part of the
> PHP source code? [...]

Of course not ...

-- 
Please always Cc to me when replying to me on the lists.

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Re: Bug #14653 Updated: Internet Explorer for Macintosh receives bad HTTP header info from PHP Header()

2001-12-22 Thread Roman Neuhauser

> From: "Fred B" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Date: Sat, 22 Dec 2001 08:25:41 -0600
> 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?

don't you need a content-type or sumthing as well?
   
> 
> 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 -
> >
> >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:
> >
> > >
> >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]
> 

-- 
FreeBSD 4.4-STABLE
11:48PM up 20:18, 7 users, load averages: 0.00, 0.00, 0.00

-- 
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]




Re[4]: [PHP-DEV] Re: Bug #14653 Updated: Internet Explorer for Macintosh receives bad HTTP header info from PHP Header()

2001-12-22 Thread Daniel Lorch

Hi,

>> > This works properly on IE for Mac for redirecting users
>> > to download a file:
>> >
>> >Header("Refresh: 0;URL=http://www.mywebsite.com/junk.zip";);
>>
>>uuuh ist this valid? I've never seen that before. I think it should
>>read:
>>
>>(HTML)
>>(HEAD)
>>  (META HTTP-EQUIV="REFRESH" CONTENT="0; 
>>URL=http://www.mywebsite.com/junk.zip";)
>>(/HEAD)
>>
>>and doesn't belong into the HTTP header.

> They are equivelant. The META tag version
> creates the same HTTP header.

no they aren't :) what YOU are proposing is a proprietary solution
which might work on many browser because it's either implemented or
they are terribly tolerant.

Kind Regards,
  Daniel Lorch
-- 
if(empty($a) == true ? true : false)



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: Re[2]: [PHP-DEV] Re: Bug #14653 Updated: Internet Explorer for Macintosh receives bad HTTP header info from PHP Header()

2001-12-22 Thread Sander Roobol

> >Header("Refresh: 0;URL=http://www.mywebsite.com/junk.zip";);
>
> uuuh ist this valid? I've never seen that before. I think it should
> read:

It is not valid, but it is accepted by most browsers. It's not in the
official
HTTP 1.x spec. Some info:
http://home.netscape.com/assist/net_sites/pushpull.html

Sander


> 
> 
>  http://www.mywebsite.com/junk.zip";>
> 
>
> and doesn't belong into the HTTP header.
>
> Kind Regards,
>   Daniel Lorch
>
>
>
> --
> PHP Development Mailing List 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>




-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re[2]: [PHP-DEV] Re: Bug #14653 Updated: Internet Explorer for Macintosh receives bad HTTP header info from PHP Header()

2001-12-22 Thread Daniel Lorch

hi,

> 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.  
>
>The only other way to go, I think, is to write my own
>custom version of PHP's Header() function.
>
>Any other thoughts?
>
>FB

uuuh ist this valid? I've never seen that before. I think it should
read:



 http://www.mywebsite.com/junk.zip";>


and doesn't belong into the HTTP header.

Kind Regards,
  Daniel Lorch



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Re: Bug #14653 Updated: Internet Explorer for Macintosh receives bad HTTP header info from PHP Header()

2001-12-22 Thread Markus Fischer

On Sat, Dec 22, 2001 at 02:33:35PM -0600, Fred B wrote : 
> It's unsuitable for dynamic PHP sites.  

Not really, can you get the IP from one of the zillions
_SERVER vars.

-- 
Please always Cc to me when replying to me on the lists.

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Re: Bug #14653 Updated: Internet Explorer for Macintosh receives bad HTTP header info from PHP Header()

2001-12-22 Thread Sander Roobol

> Any other thoughts?
Blame M$!

Sander

> 
> 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




-- 
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]




RE: [PHP-DEV] Re: Bug #14653 Updated: Internet Explorer for Macintosh receives bad HTTP header info from PHP Header()

2001-12-22 Thread Chris Newbill

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 -
>
>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:
>
>
>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]


-- 
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]