EchoFool Posted March 18, 2010 Share Posted March 18, 2010 Hey, I've been looking for a php function which can return the exact url the user is viewing + the GETs involved. I currently use one but it does not include the GET tags on the end of the url so it would return /test.php rather than /test.php?var=1 Does any one know the function im looking for ? Quote Link to comment https://forums.phpfreaks.com/topic/195643-get-user-url/ Share on other sites More sharing options...
LeadingWebDev Posted March 18, 2010 Share Posted March 18, 2010 $_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; Quote Link to comment https://forums.phpfreaks.com/topic/195643-get-user-url/#findComment-1027934 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.