Re: 4.0.1 Release Candidate packaged
| From: | Stefan Livieratos | Date: | Mon, 26 Jun 2000 13:32:16 +0000 |
| Subject: | Re: 4.0.1 Release Candidate packaged | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-22349@lists.php.net to get a copy of this message | ||
Hi Kristian,
please look through the appended patch, which adds a function
called sapi_module_name and seems to work.
Regards
Stefan
-----Ursprüngliche Nachricht-----
Von: Kristian Koehntopp <kk@netuse.de>
An: Zeev Suraski <zeev@zend.com>
Cc: <php-dev@lists.php.net>; <php-windows@lists.php.net>; <group@php.net>
Gesendet: Montag, 26. Juni 2000 10:07
Betreff: Re: [PHP-DEV] 4.0.1 Release Candidate packaged
> Zeev Suraski wrote:
> > PHP 4.0.1RC has been packaged. If there are no special problems found
in
> > it, it'll be repackaged as 4.0.1 and released on Wednesday.
>
> I do not know if it exists, but could you please add a function
> to PHP4.0.1 which determines if we are running as a CGI or as a
> module. I am thinking along the lines of a function whioch
> returns the first field of the sapi_module structure as a
> string. This would also allow to determine the exact name of the
> SAPI interface being used, and would be trivial to implement.
>
> Or do we already have means to determine which SAPI PHP is
> currently using, which I am not aware of?
>
>
> Having such a function has the benefit that scripts can decide
> if SAPI specfic functions such as the avilability of PHP based
> HTTP authentication or the getallheaders() function are present.
>
> I'd like to see a backport of this mechanism into PHP3 as well.
>
> Kristian
>
> --
> Kristian Köhntopp, NetUSE AG Siemenswall, D-24107 Kiel
> Tel: +49 431 386 436 00, Fax: +49 431 386 435 99
> Using PHP3? See our web development library at
> http://phplib.netuse.de/
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>
Attachment: [application/octet-stream] sapi_module_name.patch
Attachment: [application/octet-stream] sapi_module_name.patch