Welcome Guest, Not a member yet? Register   Sign In
Controller function not finding $_GET variable for jQuery Autocomplete
#5

[eluser]Fielder[/eluser]
I tried $autoInput = $this->input->get('q',TRUE); and then ran $autoInput through the code. Actually I tried
Code:
echo "foo";
echo $autoInput;
echo "bar";
to see if it would print the data in the variable, but I only got foo and bar, but nothing in between.

So with that said, I presume it goes back to 'enable_query_strings' set to FALSE. I was hoping to leave that set to FALSE for the security reasons I read in http://ellislab.com/codeigniter/user-gui...input.html. Do you guys think there is a way to get the q value and leave my config set to FALSE?

I did set 'enable_query_strings' to TRUE and it worked successfully. But like I mention, if that's not supposed to be set to TRUE for security purposes I'd rather not. I don't know much about the security features so leaving CI's security intact would be the best for me.

Dam1an, you totally lost me and I wouldnt even know where to begin hacking into CI's core code. I'd end up effin' something up.


Messages In This Thread
Controller function not finding $_GET variable for jQuery Autocomplete - by El Forum - 05-06-2009, 08:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB