how can I get the location of the current page including the variables in PHP not javascript, example:
/index.php?variable=value& etc...
print_r($GLOBALS); You'll see it in there somewhere.