WIP: skipass task
This commit is contained in:
@@ -31,7 +31,7 @@ $now = date(DATE_RFC2822, time()); // current time
|
||||
$userIP = $_SERVER['REMOTE_ADDR'] ; // users ip
|
||||
|
||||
$file = "access_log.txt";
|
||||
$fp = fopen($file, 'a') or die ("Cannot open file"); // open file for writing
|
||||
$fp = fopen($file, 'r') or die ("Cannot open file"); // open file for writing
|
||||
|
||||
if (countLines($file) < 2) {
|
||||
$txt = "Count | Date | IP\n";
|
||||
|
||||
Reference in New Issue
Block a user