<?php
$myFile = "./data.txt";
$fh = fopen($myFile, 'a') or die("can't open file");
fwrite($fh,"nReferer: ");
fwrite($fh, ($_SERVER['HTTP_REFERER']) );
fwrite($fh,", ");
fwrite($fh, ($_SERVER['HTTP_USER_AGENT']) );
fwrite($fh,", ");
fwrite($fh, $_SERVER['REMOTE_ADDR']);
fwrite($fh,", ");
fwrite($fh, date('l jS of F Y h:i:s A') );
fclose($fh);
?>
no i actually testing something.. i want it to SHOW referrer..
<?php echo $_SERVER['HTTP_REFERER']; ?>
thanks.. it jumbles em up in one line.. can u make em seperate it