| 구분 | 질의 |
|---|---|
| POST | |
| $this->input->post() | |
| $this->input->post(NULL, TRUE) | |
| $this->input->post('test') | |
| $this->input->post('test', TRUE) | |
| GET | |
| $this->input->get() | |
| $this->input->get(NULL, TRUE) | |
| $this->input->get('test') | |
| $this->input->get('test', TRUE) | |
| GET, POST | |
| $this->input->get_post('test') | |
| $this->input->get_post('test', TRUE) | |
| COOKIE | |
| $this->input->cookie('test') | |
| $this->input->cookie('test', TRUE) | |
| SERVER | |
| $this->input->server('HTTP_HOST') | sample.cikorea.net |
| REQUEST_HEADER | |
| $this->input->request_headers() | Array
(
[User-agent] => CCBot/2.0 (https://commoncrawl.org/faq/)
[Accept] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[Accept-language] => en-US,en;q=0.5
[Accept-encoding] => zstd, br, gzip
[Host] => sample.cikorea.net
[Connection] => Keep-Alive
)
|
| $this->input->get_request_header('Host') | sample.cikorea.net |
| ETC | |
| $this->input->ip_address() | 18.97.14.89 |
| $this->input->user_agent() | CCBot/2.0 (https://commoncrawl.org/faq/) |
| $this->input->valid_ip('168.126.63.1') | TRUE |
| $this->input->is_ajax_request() | FALSE |
| $this->input->is_cli_request() | FALSE |
// End of Sample
© Copyright by hoksi(Page rendered in 0.0035 seconds)