Re: SAPI/CGI from HEAD (on Win32)
| From: | Edin Kadribasic | Date: | Thu, 04 Jul 2002 08:03:57 +0000 |
| Subject: | Re: SAPI/CGI from HEAD (on Win32) | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-85787@lists.php.net to get a copy of this message | ||
> 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