angel1234 发表于 2015-8-4 15:43:48

CI入口文件index.php中的index带参数怎么实现

已经在.htaccess中隐藏了index.phpRewriteCond $1 !^(index\.php)   
RewriteRule ^(.*)$ index.php/$1

现在在入口文件index.php中的index要带有参数,应该怎么写RewriteRule呢?希望index.php还是可以继续隐藏

ahcheqiu 发表于 2015-8-5 11:52:22

举个栗子吧,并不理解问题什么意思

IvanCI 发表于 2015-8-5 14:42:41

不影响你使用 get 或者 post方法获取参数使用input->get
页: [1]
查看完整版本: CI入口文件index.php中的index带参数怎么实现