如果我使用的方法,例如插入,ZF更新我會安全嗎(mysql注入)?Zendframework - mysql注入如何保護
例如部分代碼:
$data = array(
'autor' => $autor,
'title' => $title,
'text' => $text,
'date' => $date,
);
$news = new News();
$news->insert($data); // safe?
可能[這](http://stackoverflow.com/questions/2370163/how-to-prevent-sql-injection-attack-in-applications-programmed -in-zend-framework/7764258#7764258)答案可以提供幫助。 – Starx 2011-10-14 07:17:08