> On Thu, 4 Jul 2002, Sebastian Bergmann wrote:
>
> >     <?php
> >       phpinfo();
> >     ?>
> >
> >   lets Mozilla "download" the file.
> >
> >     <?php
> >       header('Content-Type: text/html; charset=iso-8859-1');
> >       phpinfo();
> >     ?>
> >
> >   lets Mozilla "show" the file.
> >
> >   The latter is intended behaviour, I think.
>
> I have some idea who fucked this up :) :
>
http://cvs.php.net/diff.php/php4/sapi/cgi/cgi_main.c?r1=1.174&r2=1.1
75&ty=h
>
> Derick

Confirmed on Linux as well. PHP now prints only:

Status: 200
X-Powered-By: PHP/4.3.0-dev

The content-type header is missing.

Edin



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to