Codice PHP:
$_SERVER['QUERY_STRING'
da solo o con


Codice PHP:
$_SERVER['REQUEST_URI'