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 ? 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']; Link to comment https://forums.phpfreaks.com/topic/195643-get-user-url/#findComment-1027934 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.