Hello:
How can I track the referral from a website if I use meta refresh or header('Location ');
Thanks in advance for anyone who helps.
Hello:
How can I track the referral from a website if I use meta refresh or header('Location ');
Thanks in advance for anyone who helps.
try this..
<?php
$httpref = getenv ("HTTP_REFERER");
echo "<html>";
echo "<head>";
echo "<META HTTP-EQUIV=Refresh CONTENT=\"3; URL=$httpref>";
?>
</head>
(((((BODY STUFF HERE..)))))
Originally posted by spighita
Hello:
How can I track the referral from a website if I use meta refresh or header('Location ');
Thanks in advance for anyone who helps.
record the referrer header before you redirect them to another page.
you could either write it to a database right away, store it in a session variable, or pass it around in the url