dongqian9013 2017-06-02 07:16
浏览 22
已采纳

代码点火器中是否有类似$ _REQUEST的预定义变量?

The variables in $_REQUEST are provided to the script via the GET, POST, and COOKIE input mechanisms.

Is there a way in code igniter to access GET and POST both data through one predefined variable or function

  • 写回答

1条回答 默认 最新

  • dpkk8687 2017-06-02 07:24
    关注

    You can use

    $this->input->post_get('some_data', TRUE);
    

    This will work like $_REQUEST.More function are there like cookie,server.

    For more information check here

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?