Re: $PHP_SELF and include all variables?

From: Date: Mon, 20 Oct 2003 00:16:46 +0000
Subject: Re: $PHP_SELF and include all variables?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-166696@lists.php.net to get a copy of this message
On Wednesday, October 15, 2003, at 01:12 AM, Tristan.Pretty@risk.sungard.com wrote:
I'm using $PHP_SELF, but need to automatically record what variables are in the URL at that time... is that possible?
try to get in the habbit of using $_SERVER['PHP_SELF'] on PHP >= 4.1, because $PHP_SELF is deprecated. anyway, to answer your question, try $_SERVER['QUERY_STRING'] or $QUERY_STRING (deprecated). Justin French

« previous php.general (#166696) next »