Welcome Guest, Not a member yet? Register   Sign In
SEO URIs *AND* $_GET requests - /controller/function/?myvar=1
#15

[eluser]xwero[/eluser]
I wonder why the URI library is hacked the $_GET global is set to an empty array in the Input class (from line 110)
Code:
if ($this->allow_get_array == FALSE)
        {
            $_GET = array();
        }
        else
        {
            if (is_array($_GET) AND count($_GET) > 0)
            {
                foreach($_GET as $key => $val)
                {
                    $_GET[$this->_clean_input_keys($key)] = $this->_clean_input_data($val);
                }
            }
        }
So all you need to to do is set $_GET = array(); in comment and of you go Smile


Messages In This Thread
SEO URIs *AND* $_GET requests - /controller/function/?myvar=1 - by El Forum - 03-05-2008, 01:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB