구분 질의
POST
GET
Set Cookie
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=Vi5v4l6crme%2FvewJaz7i90CZSPWira8LN%2F12d%2BCH9p5nX8xfDrGN8wQPvBb2pwMQAdiujXsdmkmZZ2MgYsJNxPgzMHF5K%2BJuQj%2F%2FFRJUu0mH0edNs7Bf6fmzqKaiEwEB1SpXNP2vxLUwdgTyb7aYwhXayNEILIxObTconF6dveTYEYNR%2BcrXwcuPCb3%2B%2FGyHJ%2BjpK3NGbEvwB%2BU%2FvFQQtiPv0qi3l9q6xffMpw%2BSXQwTH%2FB%2B5YYwBVo1hVjzdsNAjI0fiaMbkqTNWNlzCnHTdNKKsuBWk5Rc3IsTUgt4HJq3ePrehLt2WS41kYX5NKnLH5Aednfg4%2BzciG0oTKpeT0Q3eU4pkyHqt1JlYG7FQOk58XpEvYBLLIYbYNN40oCoi7bdp3v%2FbupJ%2B41ozIwYBk%2BrxGmSdwJN2quQ1EK4LPNXjliT83qcFrFbNN18hyuRgwwPB03%2B%2BzFIBZListSLcA%3D%3D427dcb5602e2ca3e0a857265bdcc8a338c0e5f50
    [Accept-encoding] => gzip, br, zstd, deflate
    [Host] => sample.cikorea.net
    [Via] => 1.1 squid-proxy-5b5d847c96-nf685 (squid/6.10)
    [X-forwarded-for] => 10.3.49.45
    [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.164
$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.0024 seconds)