0) { $put_log= @file_get_contents('_put.log'); $put_log= substr($put_log, -28); $RES= -intval($RES); } else { $put_log= 'OK'; $RES= 1; } $msg= mysql_real_escape_string($put_log); $Q = <<