from:http://codeigniter.org.cn/forums/thread-692-1-1.html
CI默認過濾了$_GET
需要傳遞get參數時一般直接 /參數一/參數二
詳見手冊說明:http://codeigniter.org.cn/user_guide/general/controllers.html#passinguri
但是有時候需要傳遞很長的復雜的url,比如常用的 http://www.nicewords.cn/index.php/controller/method/?backURL=http://baidu.com/blog/hi
這時 這種模式就行不通了。參數中本身的/會與默認的分隔符沖突
解決方案:
1) 在config.php 中,將‘uri_protocol’ 設置為 ‘PATH_INFO’.
PHP
$config['uri_protocol'] = "PATH_INFO";
復制代碼
2) 在需要使用$_GET的之前加:
這樣,形如 index.php/blog/list?parm=hello&page=52 就可以運行了。
官網說明:
http://codeigniter.com/wiki/QUERY_STRING_GET/