구분 질의
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=dzFmuyOVWXYEtW%2FztEFKxhQQpJJDzXh1dEWG5tqODmU%2FivSMRB5Fow6xR3lfycbZT0LIv%2Fa6kSPQ6YDbg9vau0%2FhKLG7NdtLqhPdG2ajUPYIycE%2FqKqoa1GL5qmIAIG66DGPG%2F2h2Iz0Y6mUzBAEYGdwYI3Qw%2BF2XTP%2BT1bzgQUfdLHSIPLHHf3dXHHY1tWUgOHGIXlqv3J2ZJIEEkjGrEkzcICV1JO9r%2BLE9Gxu5SasETcikvf0qqGyvaRu3WWiNLPpeaxjBqGYIt%2Bwo6Kt5voo00N1rX5CaisUTpxN%2BkI6j48hwNC35R8lTUhMrl5WhiBqG2YhS2yLYnK2upUx7wgIvZG0L3M57nA8n3EPBh4LqWIwJN7n8sFVdtjHfDSlReBichK%2BfNowCcMMei4HK3rcwo8%2Fwh5QFIwTdzOU%2FR5owemxQgm9Drdv10ZI%2B42s12FOQJpjhxHcaOrptiJ3eg%3D%3D69ab0800869a4370ae768dd923a1f929af9d4339
    [Accept-encoding] => gzip, br, zstd, deflate
    [Host] => sample.cikorea.net
    [Via] => 1.1 squid-proxy-5b5d847c96-6mw4c (squid/6.13)
    [X-forwarded-for] => 10.1.131.114
    [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.82
$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.0021 seconds)