[PHP3] $PHP_SELF in CGI From: Kristian Koehntopp (kk <email protected>)
Date: 09/04/98

Somebody reported some time ago on this list, that $PHP_SELF
will report the redirected URL of the PHP script when using CGI.
That is, $PHP_SELF reports "/cgi-bin/php/test.php3" instead of
"/test.php3" which is then server-internally redirected to the
former real URL. This is a bug, because that won't work with
redirection checking in CGI PHP, which is a recommended option.

Currently, PHPLIB uses $PATH_INFO when operating with CGI PHP
and $PHP_SELF when operating with mod_php. This will change; all
new releases of PHPLIB will use $PHP_SELF.

That is, all new versions of PHPLIB require that PHP reports the
correct value "/test.php3" when used with CGI PHP.

Could the powers that be please inform me on the status of this
$PHP_SELF bug?

Thanks,
        Kristian

-- 
SH Online Dienst GmbH, Kristian Koehntopp,
Siemenswall, 24107 Kiel, +49 431 386 436 00
Using PHP3? See our web development library at
http://phplib.shonline.de/ (GPL)

-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3