구분 질의
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=eDWui7PRVI6BRqIaqrsUIl5hCrsE6L2P5bUBUSJ%2BGiq%2F5GURSY0r9iP1OjfaxheGC%2B3dIbD9lq%2FxfURGmRRxwcDUzdAZu58KQwjIw0AeZxj95WjHRnlISabwTeDiILsQiVYg33pby%2FOZmOmHg0qCtSOWZ2eDrVHN9KM%2BPPy6LjyJOfk9YY%2FFy5Q%2FnJ4c%2F3kP40mZUMq%2FXnytMSPdFwAb7iamz57vqr5vwYGBmwIZdCPDN9%2FtJBnQhzqMlQJTjneq5g8W3%2FjrURU9HlZiIMaZkmpuC6ZcApElKcCxUaF3Cxv97yU3wacmieBgtKbHAatTU8KWfdxNOxBewtyVSB6%2FzMWpYEgQqbPNSHikJz0T70jexY6f1r2XQkdhZ%2FbVlCBqBKWoYzHNnXq%2FVrkukFV6BOIJnZrnwa0ERYX7FUlVD2GQ33XGEp85qN%2FZJ%2F%2B8pGlYTXry4viEDTeayZ99pIx3Xw%3D%3D677f6aaf69c8e2405ddcf918c09734ed3e4520fa
    [Accept-encoding] => gzip, br, zstd, deflate
    [Host] => sample.cikorea.net
    [Via] => 1.1 squid-proxy-5b5d847c96-pd5mq (squid/6.13)
    [X-forwarded-for] => 10.8.129.36
    [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.163
$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.0013 seconds)