$today = date("D M j G:i:s T Y"); $ip = $_SERVER['REMOTE_ADDR']; $myFile = "like.txt"; $fh = fopen($myFile, 'a') or die("can't open file"); $stringData = $today . " Post = " .$_GET['post'] . " IP = " . $ip . " NOT " . "\n"; fwrite($fh, $stringData); fclose($fh); ?>
