phpinfo(); is your friend. Insert into a PHP script which has a query
string (the part of the URL after the ?) and look at the environment
variables available and listed in the output generated by phpinfo(). The
variable you're looking for is $QUERY_STRING, but you really should get
familiar with all of the other variables available since there are many that
are quite useful. Also see parse_url() in the manual since it lets you grab
each of the URL's components separately and you can supply the URL as
$SCRIPT_URI, $SCRIPT_URL or something similar.
Thanks that is what I needed.
I am starting to learn more about phpinfo.
Is there a really good place that documents all the options and variables and such?