Is there a variable like $PHP_SELF to show the variables in the URL as well?
E.G. Right now it shows:
/index.php
I want it to show:
/index.php?a=1&b=2
Know what I mean? Thanks.
Is there a variable like $PHP_SELF to show the variables in the URL as well?
E.G. Right now it shows:
/index.php
I want it to show:
/index.php?a=1&b=2
Know what I mean? Thanks.
I think that's:
echo $_SERVER['QUERYSTRING'];
Brad
Alas, no luck. Any other ideas? Anyone?
does $_HTTP_SERVER_VARS['QUERY_STRING'] work? Sorry, I forgot the underscore
Brad
A whole list is here: http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server
$SERVER['QUERY_STRING']
actually
and
$SERVER['PHP_SELF']
Thank you, the underscore was the problem