Code:
<?php
$yourip = $_SERVER['REMOTE_ADDR'];
$thedate = date("l d F H:i:s");
$fp = fopen("logs.txt", "a");
fputs($fp, "IP: $yourip - DATE: $thedate\n\n");
fclose($fp);
?>
IP/Date/Even Account Logger.
Can be edited to log information given in a text field.
Code:
<?php
$yourip = $_SERVER['REMOTE_ADDR'];
$thedate = date("l d F H:i:s");
$fp = fopen("logs.txt", "a");
fputs($fp, "Information: $_POST['info']; . IP: $yourip - DATE: $thedate\n\n");
fclose($fp);
?>
Use it the best you can
You could put it in a management system, a index.php file that no one is allowed to access. It'll log the IP, and the date.
Greets~
-Apixen