博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2016年10月27日

摘要: public function rules() { return array( //必须填写 array('email, username, password,agree,verifyPassword,verifyCode', 'required'), //检查用户名是否重复 array('emai 阅读全文

posted @ 2016-10-27 10:37 if_i_can 阅读(853) 评论(0) 推荐(0)

2011年12月31日

摘要: 一 打开 Apache 的配置文件 httpd.conf 。二 将#LoadModule rewrite_module modules/mod_rewrite前面的#去掉三 在 httpd.conf中添加:<IfModule mod_rewrite.c>RewriteEngine On#RewriteCond %{ENV:SCRIPT_URL} (?:index|dispbbs)[-0-9]+\.htmlRewriteRule ^(.*?(?:index|dispbbs))-([-0-9]+)\.html$ $1.php?__is_apache_rewrite=1&__re 阅读全文

posted @ 2011-12-31 16:00 if_i_can 阅读(2693) 评论(0) 推荐(1)