A
Anonymous
Guest
This should give you the full URL of the page you're at, I don't know if this is what you need though..
Code:
echo $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];