Welcome Guest, Not a member yet? Register   Sign In
GET Requests


I've been reading the forums about GET requests. Some of them date back to 2007. I'm just wondering if there's a current easy solution to enable GET requests, either across the board, or just for a single controller.


As far as I know, it has to be done across the board, and it's the index file that must be queried.

To do this, you need to enable query strings in your config.php and perhaps change the URI protocol to query string.

If you want to put a question mark after the controller name, then you will probably have to allow the '?' character, and set up some routes (don't forget to escape the question mark in your routes).

Thanks... Being new to CI, I haven't done that before.. Is it the same as Jamie Rumbelow's post on this page?

Yes, that's exactly what I meant.

Great minds, eh? Smile

It worked Brilliantly... thanks!

Theme © iAndrew 2016 - Forum software by © MyBB