Php script line break..
Ok i found this script that shows referrer logs for traffic you send to it..
<?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);
?>
Anyone of making it seperate each new one and put it in a diff line.. right now it just jumbles em up..
__________________
_________________
I am the best
|