Ok, I need "if($HTTP_REFERER != "")
{echo " $HTTP_REFERER";}
else
{echo " $other";}"
to diside what to write to a file called LeechLog.txt but I get a parse error on line 14. The other code thats like that works fine that comes later in the file.
<?Php
$leech = file('Leech#.txt');
$leech = $leech[0] + 1;
$fa = fopen ("Leech#.txt", "w");
$fb = fopen ("LeechLog.txt", "a");
$ip = $REMOTE_ADDR;
$other = "aim/msn/icq/irc/email link";
$info = $HTTP_USER_AGENT;
$date = date("F j, Y, g:i a");
$newline = "\n";
fputs($fb,$newline);
fputs($fb,"Leeching Info: $ip on $date . Settings: $info From:
if($HTTP_REFERER != "")
{echo " $HTTP_REFERER";}
else
{echo " $other";}
");
fputs($fb,$newline);
fputs($fa, $leech);
echo "";
echo "<head>";
echo "<title>Leecher Cought</title>";
echo "<link href=\"anti leeching/style.css\" type=\"text/css\" rel=\"stylesheet\">";
echo "</head>";
echo "<body bgcolor=\"#efefef\">";
echo "<table width=\"300\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\">";
echo " <tr>";
echo " <td>";
echo " <font face=\"Forte\" size=\"5\" color=\"#00AEEF\">";
echo " <center><b>Leecher Caught</b></center>";
echo " </font>";
echo " </td>";
echo " </tr>";
echo "</table>";
echo "<br><br>";
echo "<table width=\"300\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\">";
echo " <tr>";
echo " <td>";
echo " <font face=\"Arial\" size=\"2\" color=\"#000000\">";
if($HTTP_REFERER != "")
{echo " $HTTP_REFERER";}
else
{echo " $other";}
echo " <center>$leech diffent time sites have tried leeching.</center>";
echo " </font>";
echo " </td>";
echo " </tr>";
echo "</table>";
echo "</body>";
echo "";
?>