Can you get this from PHP?
The URL on this page is: http://phpbuilder.com/board/newthread.php?do=newthread&f=3
What PHP var will output this? I know of $PHP_SELF, but that only gives: newthread.php?do=newthread&f=3
and not the domain...
There isn't a single variable that has this, but you can create it with the following:
$SERVER['HTTP_HOST'] ."/". $SERVER['REQUEST_URI']
Not in one variable, but in multiple sure!!
$complete_uri = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
Request_uri acutally contains a slash, so the extra one will make your url break.