The variables in $_REQUEST are provided to the script via the GET, POST, and COOKIE input mechanisms.
$_REQUEST
GET
POST
COOKIE
Is there a way in code igniter to access GET and POST both data through one predefined variable or function
收起
You can use
$this->input->post_get('some_data', TRUE);
This will work like $_REQUEST.More function are there like cookie,server.
cookie
server
For more information check here
报告相同问题?