Hi
I want to track users on page so that i can know from where users are coming to my page. Is there any way in php so that i can find out that this users came from which url to my page?
Regards
dizyn
url tracking
Moderator: General Moderators
Re: url tracking
Use $_SERVER['HTTP_REFERER']
Note however that it is optional if the browser sends that information. You won't get it from everyone. Also note that it's data from the browser so the user can change it to whatever they like if they want to, so don't use it for security.
Note however that it is optional if the browser sends that information. You won't get it from everyone. Also note that it's data from the browser so the user can change it to whatever they like if they want to, so don't use it for security.