Код: Выделить всё
$report_key = $_GET["report"];
$client_key = $_GET["client"];
$client_data = isset($HTTP_RAW_POST_DATA) ? $HTTP_RAW_POST_DATA : null;
$dbms = new mysqli('localhost', 'root', '1', 'check');
$content = $dbms->real_escape_string(is_null($client_data) ? gettype($client_data) : 'NULL');
$dbms->query("INSERT INTO `log`(`event`) VALUES('{$content}');");
$dbms->close();
unset($dbms, $content);
Код: Выделить всё
'', '2010-09-23 13:31:04'
'', '2010-09-23 13:31:06'
'NULL', '2010-09-23 13:31:22'
'NULL', '2010-09-23 13:31:27'
'NULL', '2010-09-23 13:33:50'
'NULL', '2010-09-23 13:33:58'
'', '2010-09-23 13:38:06'
'', '2010-09-23 13:38:08'
'NULL', '2010-09-23 13:42:08'
'NULL', '2010-09-23 13:42:28'
'', '2010-09-23 13:44:12'
'', '2010-09-23 13:44:13'
'NULL', '2010-09-23 13:44:30'
'NULL', '2010-09-23 13:44:55'
'', '2010-09-23 13:47:14'
'', '2010-09-23 13:47:17'
'NULL', '2010-09-23 13:47:45'
'NULL', '2010-09-23 13:48:16'
'NULL', '2010-09-23 13:48:57'