To get the query string parameters in PHP, you can use the $_GET superglobal array.
In PHP, you can use the $_SERVER['REQUEST_URI'] variable to get the request string without GET arguments.