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? Quote Link to comment 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.