Welcome Guest, Not a member yet? Register   Sign In
GET Method, Query string with Clean url
#3

[eluser]pbreit[/eluser]
Will "$this->input->get" work there? Isn't the whole problem that querystrings don't work in CodeIgniter?

As outlined in this thread:
http://ellislab.com/forums/viewthread/159382

A very small bit of code will enable you to process a querystring as usual. Then you don't have to go through the idiocy of converting a proper querystring into URI parts.

Code:
class MY_Input extends CI_Input
{
    function _sanitize_globals()
    {
        $this->allow_get_array = TRUE;
        parent::_sanitize_globals();
    }
}


Messages In This Thread
GET Method, Query string with Clean url - by El Forum - 08-31-2010, 05:07 PM
GET Method, Query string with Clean url - by El Forum - 08-31-2010, 07:04 PM
GET Method, Query string with Clean url - by El Forum - 08-31-2010, 09:56 PM
GET Method, Query string with Clean url - by El Forum - 08-31-2010, 10:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB