I'm using modrewrite in my urls but sometimes add additional variables like this:
mysite.com/ciccms/myname/mypage?test=200

Now, is it posible to get the full url but only until the "?"...

I'm getting the full url with this for now:
PHP Code:
echo $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; 
Any help is apriciated...