Mix Query String and URI Segments |
[eluser]breaddes[/eluser]
If the last segment of my uri contains $_GET Params like ?m=subscripe&a=validate, I want to handle them that way. How can I do that?
[eluser]Nick_MyShuitings[/eluser]
Not to steal that link's thunder, but out of ease of quick access to answers... the gist of that link is the following for enabling it globally: In config.php Code: $config['uri_protocol'] = "PATH_INFO"; or if you want it locally leave PATH_INFO and paste this in the controller: parse_str($_SERVER['QUERY_STRING'],$_GET); Read the link for more info.
[eluser]pbreit[/eluser]
I think this is considered the best current solution: http://ellislab.com/forums/viewthread/15...30/#780670 I recall that the solution proposed above can have some unwanted side effects. The real solution is for CodeIgniter to support it inherently. |
Welcome Guest, Not a member yet? Register Sign In |