Bug #883: PHP_SELF is incorrect with cgi-bin version compiled without force-cgi-redirect
| From: | eb at gifrance dot com | Date: | Thu, 29 Oct 1998 16:33:10 +0000 |
| Subject: | Bug #883: PHP_SELF is incorrect with cgi-bin version compiled without force-cgi-redirect | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-2078@lists.php.net to get a copy of this message | ||
From: eb@gifrance.com
Operating system: Solaris 2.5.1
PHP version: 3.0 Latest CVS (29/10/1998)
PHP Bug Type: Misbehaving function
Bug description: PHP_SELF is incorrect with cgi-bin version compiled without force-cgi-redirect
Here is the problem :
- Latest CVS version (updated 10 minutes ago)
- Solaris 2.5.1
- Netscape Enterprise Server 3.5.1 with Rasmus' redirect module
- PHP compiled as CGI-bin with Oracle and GD support, _without_
force-cgi-redirect.
<?echo $PHP_SELF;?> in test.php3
http://my.server/test.php3 gives
"/test.php3" => Ok
http://my.server/test.php3?var=1 gives
"/test.php3/test.php3?var=1" which is not correct.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net