Welcome Guest, Not a member yet? Register   Sign In
GET parameters won't work
#4

[eluser]Mr. Pickle[/eluser]
[quote author="pbreit" date="1284010566"]Try this as outlined in this thread:
http://ellislab.com/forums/viewthread/159382/

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

Note: this should work with a normal .htaccess file and default configs.[/quote]

Hi, unfortunately this doesn't help. I made MY_Input.php and put it in the libraries folder of my application folder. The site still works but CI gives the '404' error if you add a query parameter.

Just to be clear, I do not want to use the query params I just want the site to work (and rather ignore) them but leave them in the url so Google and affiliate systems can do with it what they want.


Messages In This Thread
GET parameters won't work - by El Forum - 09-08-2010, 02:41 PM
GET parameters won't work - by El Forum - 09-08-2010, 03:41 PM
GET parameters won't work - by El Forum - 09-08-2010, 06:36 PM
GET parameters won't work - by El Forum - 09-09-2010, 05:05 AM
GET parameters won't work - by El Forum - 09-09-2010, 05:09 AM
GET parameters won't work - by El Forum - 09-09-2010, 05:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB