if($user['cat'] == 0){
// Проверяем наличие категории
$mesto_cat = DB::$the->query("SELECT mesto FROM `sel_category` WHERE `mesto` = '".$message."' ");
$mesto_cat = $mesto_cat->fetchAll();
if (count($mesto_cat) != 0)
{
$chat = escapeshellarg($chat);
$message = escapeshellarg($message);
exec('bash -c "exec nohup setsid php ./select_cat.php '.$chat.' '.$message.' > /dev/null 2>&1 &"');
exit;
}
}
如果 $message 是,请告诉我如何修复 sql 注入"qwe'; DROP TABLE sel_category; --"