Hello,
I need to use codeigniter in QUERY_STRING mod ($config['uri_protocol'] = 'QUERY_STRING') because of my hosting.
Indeed, my hosting use php fastcgi mod.
So, on my config file I have this :
PHP Code:
$config['uri_protocol'] = 'QUERY_STRING';
$config['allow_get_array'] = TRUE;
$config['enable_query_strings'] = FALSE;
In my htaccess I have this :
Code:
RewriteRule ^(.*)$ index.php?/$1 [L]
My rules and my website work fine
but, I need also to use some query string in my urls.
Because of using this rule :
Code:
RewriteRule ^(.*)$ index.php?/$1 [L]
When I have a page url like this : test.html?data=dog
$_GET is empty... I can't access to $_GET['data']
Do you have any solution for me ?
Thank you.