Except for the standard method of rading $fieldname directly. What is the PHP code for reading a variable from a page submitted or querystring.
you can use $REQUEST_URI to see the query string. $HTTP_POST_VARS for post variable. $HTTP_GET_VARS for get variables.
just put this on a page named something like test.php:
<?
phpinfo()
?>
it will give you a list of all the environment variables.