![]() |
$_GET and Form Validation - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: $_GET and Form Validation (/showthread.php?tid=33015) |
$_GET and Form Validation - El Forum - 08-12-2010 [eluser]RS71[/eluser] Hello, I've gotten query strings to work but I'd like to validate the strings if possible. How can I use the form validation library with them? Any help is greatly appreciated! Thanks $_GET and Form Validation - El Forum - 08-12-2010 [eluser]WanWizard[/eluser] The short answer: You can't. The Form validation library has $_POST hardcoded. The long answer: If you still want this, your best bet is to copy the form validation library to get_validation.php, and replace all occurences of $_POST with $_GET. Imho that's a better bet than extending and messing with the code. |