runnerjp Posted June 3, 2010 Share Posted June 3, 2010 Hey guys, When my users are on the profile page i want to be able to record the users profile name they are on. Now i can do this via the get method. but the issue is that i have included the commetn script so when i use $url = "http://".$_SERVER['HTTP_HOST'].$_SERVER['SCRIPT_NAME']; to get the url its showin it as the included one...so where it should be members/profilename $url = "http://".$_SERVER['HTTP_HOST'].$_SERVER['SCRIPT_NAME'];echo $url; shows it as http://www.runningprofiles.com/members/update_ajax.php! This means im unable to grab the users.. how can i get around this? Link to comment https://forums.phpfreaks.com/topic/203768-showing-page-user-is-currently-on/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.