1 2 3 4 |
if ($this->input->server('REQUEST_METHOD') == 'GET') //its a get else if ($this->input->server('REQUEST_METHOD') == 'POST') //its a post |
1 2 3 4 |
if ($this->input->server('REQUEST_METHOD') == 'GET') //its a get else if ($this->input->server('REQUEST_METHOD') == 'POST') //its a post |