Anyone know a good external link tracking script ? IE. to catch links and referrer stats through a posted img tag, even if there’s no actual IMG. I know how PHP works in this matter, but I’d hate to code it from scratch.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can get the referrer via the built-in
$_SERVER['HTTP_REFERER']variable. So use that in the php page that your link/image refers to. Then just have some code on that same php page to stick it where you need it via insertion to a database, or whatever other method you prefer.