Re: PHP_SELF variable in cgi mode - patch proposition

From: Date: Fri, 20 Sep 2002 09:24:43 +0000
Subject: Re: PHP_SELF variable in cgi mode - patch proposition
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-88501@lists.php.net to get a copy of this message
> 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://www.php.net/manual/en/printwn/features.commandline.php A small note in the documentation should clear things out IMHO. Regards, Arkadiusz Góralski: agoralski@certum.pl

« previous php.dev (#88501) next »