I can't seem to find what is wrong with this, it is giving me an error on the first line, unless all of my programs count lines differently than my server.
function _KeepLog($fileadd,$ErrorMessage){
if(!is_file($fileadd){
$file_name = "$fileadd";
$file_pointer = fopen($file_name, "a");
fwrite($file_pointer, "$ErrorMessage\n");
fclose($file_pointer);
}
else{echo"Fatal Error: Information Could Not Be Logged";}
}