PHPFAQ - How do I find out how a user came to my page?
[Bookmark it]
PHPFAQ - How do I find out how a user came to my page?
Question :
How do I find out how a user came to my page?
Answer :You have the variable $HTTP_REFERER which holds the page that refered to you page, if there are any referer, ie if the user enters your url directly the referer variable will be empty.