I need to get the full url that the user is currently on. The usual way of doing this is $php_self, this I know, but I need to have all the variables that are passed in. eg.. with the url http://level426.ucc.ie/index.php? page=subject&subject=healthmindANDbody
$php_self returns
/php/php.exe/index.php
any help would be appreciated.
hi
echo "$PHP_SELF?$QUERY_STRING";
Should do the trick.
Darren
Thanks a lot, that works perfect. james
Hi Darren
If I use this, I only get half the URL - I need the whole thing including http
Maybe I am doing something wrong?
Thanks
Tony