flashingfrank
2006-06-12, 03:24 PM
i have a little php problem.
i just put some hitbot detection script on my tgp, but i cant get it to work right.
i inserted a couple of links on my index page with the following code:
<a href="http://domain.com/a/go.php?from=<? echo $_SERVER['HTTP_REFERER']; ?>"
class="proxy">free anal movies</a>
the link leads to go.php that has the following code:
<?
mail("proxy@domain.com", "Hitbot:", "From: $from\r\n");
?>
the variable is passed on to the go.php file, and the sending of the email is working fine, but the referer variable is not inserted in the mail.
anyone knows why it does not work?
i just put some hitbot detection script on my tgp, but i cant get it to work right.
i inserted a couple of links on my index page with the following code:
<a href="http://domain.com/a/go.php?from=<? echo $_SERVER['HTTP_REFERER']; ?>"
class="proxy">free anal movies</a>
the link leads to go.php that has the following code:
<?
mail("proxy@domain.com", "Hitbot:", "From: $from\r\n");
?>
the variable is passed on to the go.php file, and the sending of the email is working fine, but the referer variable is not inserted in the mail.
anyone knows why it does not work?