Re: [PHP-DEV] PHP_SELF variable in cgi mode - patch proposition

2002-09-20 Thread Piotr Klaban
On Fri, Sep 20, 2002 at 11:24:43AM +0200, Arkadiusz Góralski wrote: > > I have seen the same problem reported repeatedly on bug tracking system: > > in php-cgi mode PHP_SELF is copied from PATH_INFO -> in standard cgi mode > > it is useless (for example bug report see > > http://bugs.php.net/bug

Re: [PHP-DEV] PHP_SELF variable in cgi mode - patch proposition

2002-09-20 Thread Arkadiusz Góralski
> I have seen the same problem reported repeatedly on bug tracking system: > in php-cgi mode PHP_SELF is copied from PATH_INFO -> in standard cgi mode > it is useless (for example bug report see > http://bugs.php.net/bug.php?id=18942&edit=1) You can always use $argv[0] as described here: http:/