change: timestamp is now in DATE_RFC2822 format
This commit is contained in:
@@ -27,7 +27,7 @@ Tipp: Schauen Sie sich die Funktionen file() und readfile() an oder nutzen Sie f
|
||||
|
||||
*/
|
||||
|
||||
$now = time(); // current time
|
||||
$now = date(DATE_RFC2822, time()); // current time
|
||||
$userIP = $_SERVER['REMOTE_ADDR'] ; // users ip
|
||||
|
||||
$file = "access_log.txt";
|
||||
|
||||
Reference in New Issue
Block a user