Hey I want to see where the user has been linked from if he were linked at all. Let's say you have a link to my page on your page. A simple link. And if anyone clicked it and got directed to mine, my page will know it I know this site that adds you in a advertising-list and people can see how many times people on the commercial site has gone in to they're site. Like I could see how many times someone has clicked on the link on your page to my page. Any idèas?
Check your weblogs with something like awstats - your web host should provide this service or something similar - you can see which sites have sent you traffic.
<?php echo $_SERVER['HTTP_REFERER'];?> PHP: this variable contains what you described ( the referring url ).