input是CI_Input类型对象,通过$this->input获取,它提供获取用户输入信息的方法,比如:

  1. post方法:用于获取通过post方法传递过来的参数
  2. get方法:用于获取通过get方法传递过来的参数
  3. post_get方法:用于获取post或get方法传递过来的参数,优先考虑post参数
  4. get_post方法:用于获取post或get方法传递过来的参数,优先考虑get参数
  5. server方法:获取$_SERVER中的值
  6. cookie方法:获取$_COOKIE中的值
  7. set_cookie方法:设置cookie值
  8. 。。。。。。

相关文章:

  • 2022-02-17
  • 2021-12-14
  • 2021-10-16
  • 2022-12-23
  • 2021-09-02
  • 2021-05-25
  • 2021-07-17
猜你喜欢
  • 2022-12-23
  • 2021-05-31
  • 2022-12-23
  • 2022-12-23
  • 2021-10-15
  • 2022-12-23
相关资源
相似解决方案