【发布时间】:2011-08-07 07:54:51
【问题描述】:
如果我使用方法,例如在 ZF 中插入、更新我会安全吗(mysql 注入)?
例如一部分代码:
$data = array(
'autor' => $autor,
'title' => $title,
'text' => $text,
'date' => $date,
);
$news = new News();
$news->insert($data); // safe?
【问题讨论】:
-
可能是this 答案可以提供帮助。
标签: php mysql zend-framework frameworks code-injection