CodeIgniter Forums
MY_form_helper : POST and GET sensitive methods - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: MY_form_helper : POST and GET sensitive methods (/showthread.php?tid=8102)



MY_form_helper : POST and GET sensitive methods - El Forum - 05-06-2008

[eluser]xwero[/eluser]
The code and instructions can be found on the wiki page.

It's a part of my validate library but i release it as stand-alone in the spirit of my don't let the validation library alter or display the inputs evangilizing.


MY_form_helper : POST and GET sensitive methods - El Forum - 05-15-2008

[eluser]wiredesignz[/eluser]
Sorry for the late reply, I noticed on the wiki you use both `is_array` and `isset` to test input, the isset test does both for you. This might help shorten your code Wink


MY_form_helper : POST and GET sensitive methods - El Forum - 05-15-2008

[eluser]xwero[/eluser]
Salim discovered a runaway print_r in the code which has been removed.

Wiredesignz i'm going to check your suggestion later.