On http://lyricslist.com I link to another site with a simple <a href=''> link. The other site reads the $HTTP_REFERER variable and gives me one point for each click. I want to know how many people are clicking that link. So I created a goto.php file, that records the click to a database and send the visitor on her way with a redirect:
Code:
$url=" http://song-lirics.com "; // $url is set before header()
header("Location: $url");
The redirect works, but the variable $HTTP_REFERER is not set at the other site! So they don't know where the hit came from! I also tried using a meta tag redirect, but that doesn't work either. I tried this in FireFox and Opera. Please, if anyone could shed any light on the subject, I would appreciate it. Thanks!
Dotan Cohen
http://IE-only.com
