malikah Posted December 2, 2007 Share Posted December 2, 2007 Sometimes this works, sometimes not: $myIP = 'xxx.xxx.xxx.xxx'; if ($_SERVER['REMOTE_ADDR'] == $myIP){ $date = date('g:i l, d M'); $handle = fopen("ip.txt", "a+"); fwrite($handle, $myIP."me"); fclose($handle); } Why only sometimes?? Link to comment https://forums.phpfreaks.com/topic/79853-fwrite-doesnt-always-write/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.