Beides zusammen bekommt man iirc über $_SERVER['REQUEST_URI']