$id = $this->_getParam('id', 0); if ($id > 0) { // do something }I'm wondering if it's enough for the script security. Do you think is a waste of time to validate it with Zend_Validate_Digits or not ? Bye.
View this message in context: Validation _getParam Zend_Controller_Action
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论