Hi
I woluld lik to add date in my script.
The date should not display just write it in my ip.txt like lis
ip-Date
<?php
$ip=$_SERVER['REMOTE_ADDR'];
$date= new DateTime("Y-m-d H:i:s");
$file = fopen('ip.txt','a+') or die("can't open file");
fwrite($file,$ip."\n");
echo "Your IP Address Saved: $ip\n";
echo $date->format('Y-m-d H:i:s');
?>