[PHP-DEV] Bug #883: PHP_SELF is incorrect with cgi-bin version compiled without force-cgi-redirect From: eb <email protected>
Date: 10/29/98

From: eb <email protected>
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 <email protected>
For help: php-dev-help <email protected>