Re: SAPI/CGI from HEAD (on Win32)
| From: | derick@php.net | Date: | Thu, 04 Jul 2002 07:08:32 +0000 |
| Subject: | Re: SAPI/CGI from HEAD (on Win32) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-85786@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.175&ty=h
Derick
---------------------------------------------------------------------------
Did I help you? http://www.derickrethans.nl/link.php?url=giftlist
Frequent ranting: http://www.derickrethans.nl/
---------------------------------------------------------------------------
PHP: Scripting the Web - derick@php.net
All your branches are belong to me!
SRM: Script Running Machine - www.vl-srm.net
---------------------------------------------------------------------------