From 9cee5319413bbad6968802666ca6455d0776caa2 Mon Sep 17 00:00:00 2001 From: alopexc0de Date: Tue, 9 Oct 2012 22:32:17 -0400 Subject: [PATCH] added spacing in generated logs --- short/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/short/index.php b/short/index.php index 29cbeae..f628c71 100755 --- a/short/index.php +++ b/short/index.php @@ -67,7 +67,7 @@ $parts = Explode(\'/\', $currentFile); $myFile = "log/".$parts[count($parts) - 1].".log"; $fh = fopen($myFile, \'a\') or die("can\'t open file"); -$string = $_SERVER[\'REMOTE_ADDR\']; +$string = $_SERVER[\'REMOTE_ADDR\']."\n"; fwrite($fh, $string); fclose($fh); ?>