Welcome Guest, Not a member yet? Register   Sign In
PATH_INFO not working on blue host?
#1

[eluser]Junaid Atique[/eluser]
i have the following settings in config file

Code:
$config['uri_protocol']    = "PATH_INFO";
$config['enable_query_strings'] = FALSE;
but in order by get query strings i am using the following code
Code:
parse_str($_SERVER['QUERY_STRING'],$_GET);
I've placed the above code in every controller in which i am using
Code:
$this->input->get()
Now this works outstanding on my local machine but when i upload this thing on blue host server it is not working. Another thing is I am using HMVC and have my own route file.

Please help me, its urgent.
#2

[eluser]Junaid Atique[/eluser]
Well the problem is solved. This was because that I was using
Code:
$config['uri_protocol']    = "PATH_INFO";
on shared hosting, that will not work. So I have changed a small thing. I've put
Code:
cgi.fix_pathinfo = 0
in php.ini file and the problem is fixed.




Theme © iAndrew 2016 - Forum software by © MyBB