`enable_query_strings` is Not Working Properly

血红的双手。 提交于 2019-12-05 16:32:54

To get this working perfectly, use:

$config['uri_protocol'] = "PATH_INFO";
$config['enable_query_strings'] = TRUE;

Make sure that you have both

$config['uri_protocol'] = "QUERY_STRING"; or $config['uri_protocol'] = "REQUEST_URI";

and

$config['enable_query_strings'] = TRUE;

If that doesn't work try changing your URI Chars to this

$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-?';

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!