CodeIgniter Validation: possible to validate GET query strings?

前端 未结 4 655
醉话见心
醉话见心 2020-12-18 07:23

The form validation library seems to only work on POST. I need to use query strings and would like to use CI to validate the passed values. Is there a way to do this?

4条回答
  •  清酒与你
    2020-12-18 08:07

    You could overwrite the Form_validation function run in a MY_Form_Validation and modify it.

提交回复
热议问题