Hi alfoxy,
$_SERVER['QUERY_STRING'] gives you the portion after the '?', so
$SERVER['PHP_SELF'].'?'.$SERVER['QUERY_STRING'] will give you the lot.
(Also, $REQUEST contains all of the variables sent to the page in an associative array, $POST those variables sent via the post method and $_GET those variables sent via the get method ... these are generally easier to use)
Paul.