구분 | 질의 |
---|---|
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 ( [Accept] => */* [User-agent] => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) [Cookie] => ci_session=%2B3sftP%2Ba0iAvwlvfC3ai5uQbqu%2FDub69lzX%2B02Mv1VkK1qNKrPm%2BTdlJfPlVOHc1TdoogdQ1x2TpGHNReB9zzv1Dq7p8B%2B1yP7bsJFFur7WAgDYnbHXRP%2FZu6eClR%2Fr%2Bf42rUVyfb6kKsIK4Kp3nJ6E5bHQArp2eoZZCbdabqUIPUzpmM6BSZAC98iXka7x6uXJDF2vqo0yCna6KU14rjEG%2FHXJ%2BR1wuUft5lZWlZwJRJ%2Bw7%2BxHxEf5wwiTyATiQvsVtDvGMG6bWzn3B0kxeuM8zeAt3AHTjxt4zBDiYAL6B8PoebzrLcUi4RrQhcwd6nVXcHVwI43K5kNLzErCurBYjrdM9Tu47%2F%2FVYp%2F0n9GUz69zp6zB9HngyZC4cSRff2l7nTNjp4iI9L8QtnUlayrmd4KGBcs30Ds1JemmKZB3znaoW7RBbuBsJ1YaaNn%2BE5K%2FZlrMX35ERAHQXcHd9Uw%3D%3D6746c2f326e48bbc378e7f3906e824b172bb0a2e [Accept-encoding] => gzip, br, zstd, deflate [Host] => sample.cikorea.net [Via] => 1.1 squid-proxy-5b5d847c96-zhxdl (squid/6.10) [X-forwarded-for] => 10.3.19.162 [Cache-control] => max-age=259200 [Connection] => keep-alive ) |
$this->input->get_request_header('Host') | sample.cikorea.net |
ETC | |
$this->input->ip_address() | 216.73.216.121 |
$this->input->user_agent() | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
$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.0039 seconds)