今天早上我被攻击了,并在我的网站上注射了一些JS。我正试着找到那个洞并修补它。我的印象是下面的PDO是安全的,有人能证实或否认这一点吗?
//Adding the lead to the local database
$leads = array($firstName, $lastName, $company, $state, $country, $phone, $email, $industry, $uniqueId, $comments );
$qry = $dbh->prepare(
'INSERT