Passing $_GET to controller unexpeacted error. |
[eluser]ChrisMiller[/eluser]
It is not hard to setup First open up /system/application/config.php Change Code: $config['uri_protocol'] = "AUTO"; Code: $config['uri_protocol'] = "PATH_INFO"; and then open up your index.php file and add near the top of the file Code: parse_str($_SERVER['QUERY_STRING'],$input_vars); Special notice is $input_vars is not safe from sql injection etc... it basically gives you exactly what was inputed you must sanatize this manually via... $this->security->xss_clean() http://ellislab.com/codeigniter/user-gui...urity.html you may have to also do the Url Suffix as well as its been awhile since I did this trick but that would be the variable $config['url_suffix'] in the same config file just below the uri_protocol. |
Messages In This Thread |
Passing $_GET to controller unexpeacted error. - by El Forum - 02-10-2011, 11:41 AM
Passing $_GET to controller unexpeacted error. - by El Forum - 02-11-2011, 02:13 PM
|