2
0

change: timestamp is now in DATE_RFC2822 format

This commit is contained in:
Schuledaniel
2025-11-19 14:16:57 +01:00
parent 1aaae0e219
commit 07166e1f6b
2 changed files with 25 additions and 3 deletions

View File

@@ -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";