I am trying ot grab the FULL url but only seem to be able to grab the first bit, everything after ? I cant seem to grab.
Here is my full path:
http://www.mysite.co.uk/detail.php?stock_ID=5
here is what Im getting:
http://www.mysite.co.uk/detail.php
and here is my code:
Cheers before hand.PHP Code:$actual_link = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
echo $actual_link;



Reply With Quote



Bookmarks