Welcome Guest, Not a member yet? Register   Sign In
are standard GET queries possible?
#1

[eluser]SomeFunkyDude[/eluser]
I'm trying to install a jQuery autocomplete plugin, and one of the features is it sends an ajax call to a url using standard url query strings but CodeIgniter uses a segment approach.

Is there a way to parse a standard get query from the URL instead of using segments?
#2

[eluser]pistolPete[/eluser]
[quote author="SomeFunkyDude" date="1239574104"]Is there a way to parse a standard get query from the URL instead of using segments?[/quote]

Search the forum, e.g. forums/viewreply/560442/.

I don't know this plugin, but couldn't you use a POST request instead?
#3

[eluser]SomeFunkyDude[/eluser]
Thanks, this worked
Code:
$keys = explode('?', $_SERVER['REQUEST_URI']);
if(count($keys) == 2){
    print_r(explode('&', $keys[1]));
}
from http://ellislab.com/forums/viewthread/111036/#561969




Theme © iAndrew 2016 - Forum software by © MyBB