detecting traffic source

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
m2babaey
Forum Contributor
Posts: 364
Joined: Sun May 20, 2007 9:26 am

detecting traffic source

Post by m2babaey »

Hi
I want to create a page clicks.php for these urls: http://domain.om/clicks.php?advertiseri ... 5&adid=541
and need to check the source of traffic. how can I find where the click has been sent from or which website is reading from my database?
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

$_SERVER['HTTP_REFERRER'] might be of use though it can be faked. It's a starting point for your research though.
Post Reply