PHP How to create a user page tracking script?

[Q]

New member
I'm trying to create a php script that would monitor users, where they are on but i don't know how to get the page, where the users are on.

is there a php function that i need to use?
also monitor the IP of that user view my webpages..
I wanna create my own version for learning purposes.
 
there's actually an easy way to do it

go to

http://statcounter.com/

create an account, put the code on your page and you'll know when someone enters your site and what is his ip which tells from where


my friend uses it to see who is visiting his facebook profile :D
 
Back
Top