Welcome Guest, Not a member yet? Register   Sign In
Using codeigniter in QUERY_STRING mode with php fast CGI
#7

ok, a print_r() of $_GET will give you an empty array because CI stores the data from $_GET elsewhere and empties $_GET as explained.

But you should be able to fetch de GET items using $this-input->get('var name');

I tested this just now with this simple function:
Code:
   function getitnow() {

       echo $this->input->get('data');

   }

and when using the url

Code:
mydomain.com/test/getitnow?data=hello%20world

CI echoed 'Hello world' as a result
Reply


Messages In This Thread
RE: Using codeigniter in QUERY_STRING mode with php fast CGI - by RogerMore - 03-20-2015, 09:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB