用户
 找回密码
 入住 CI 中国社区
搜索
查看: 1724|回复: 2
收起左侧

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

[复制链接]
发表于 2015-8-4 15:43:48 | 显示全部楼层 |阅读模式
已经在.htaccess中隐藏了index.phpRewriteCond $1 !^(index\.php)   
RewriteRule ^(.*)$ index.php/$1 [L]

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

发表于 2015-8-5 11:52:22 | 显示全部楼层
举个栗子吧,并不理解问题什么意思
发表于 2015-8-5 14:42:41 | 显示全部楼层
不影响你使用 get 或者 post方法  获取参数使用input->get

本版积分规则