http://blog.sina.com.cn/s/blog_685213e70101mo4i.html 文档: http://www.yiiframework.com/doc/api/1.1/CActiveForm All these validations share the same set of validation rules declared in the associated model class. CActiveForm is designed in such a way th…
CSRF token 无法被验证. 我使用的是mongodb+ yii1.1 What is CSRF, please see the details here. http://en.wikipedia.org/wiki/Cross-site_request_forgery In Yii, how to start the CSRF authorization? It is very easy to do that. Just add this to main.php 'components'…