Ajax form submit: Best way to handle post variables? |
[eluser]mhulse[/eluser]
Hi Cro_Crx! A billion thanks for the quick reply. [quote author="Cro_Crx" date="1264424232"]CodeIgniter has an 'input' library which handles these sorts of things http://ellislab.com/codeigniter/user-gui...input.html. If you wanted to access $_POST['some_variable'] you'd use $this->input->post('some_variable'); CodeIgniters input class does some things automatically for you like check for cross(X) Site Scripting (XSS) attacks and some other stuff too.[/quote] AHHHH, the "input" library! Cool! Lol, I can't believe I missed that. ![]() Thanks Cro, I appreciate it. I promise I will read the manual a little more closely next time. Also, thanks for the code example. I am loving CI! Cheers, Micky |
Messages In This Thread |
Ajax form submit: Best way to handle post variables? - by El Forum - 01-25-2010, 12:51 AM
Ajax form submit: Best way to handle post variables? - by El Forum - 01-25-2010, 12:57 AM
Ajax form submit: Best way to handle post variables? - by El Forum - 01-25-2010, 01:15 AM
Ajax form submit: Best way to handle post variables? - by El Forum - 01-25-2010, 01:25 AM
Ajax form submit: Best way to handle post variables? - by El Forum - 01-25-2010, 01:29 AM
Ajax form submit: Best way to handle post variables? - by El Forum - 01-25-2010, 01:51 AM
|