구분 질의
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=upScNpbUHT7%2Bx%2FS4HT%2BcEW5GH4Of%2F5R2%2BEcqmcXYp%2BjXg69rfYZQYQ2e7ti1NcoIkENBAwEpZqvf%2Fiddcc3cGk9hmnHT3ODL8pDSLvB0JETKWdZ9rp7qfh5HxC%2BW4voIdLlDPaStciqjt9UlLbzKm%2Faq6SL3hZHpCgff1THzX%2Bs4T4f1iYbkGqGf5FzwFP36AVN1bV5K3YzspgtntwWaYoC4Zli%2FaD2jOipKD5zJZsAJkAcwHlU9P0tl0Nd9sdnDL96sEU%2FSO965vAz8HQ2RVbrfsOBOe7ATibzUPHUtz8B%2By6P6L2%2B8UUYLSdSMHNqRl6wa29WsPsMOObRj5PQQg1xB3YGld7zJlYNRUg5Lu7rdWCz3l3uo5Op7bo12w8ysU79SdCnNqR8VWkbrWq%2F4hTF6aoVYNsI4qLh0jWd%2FLa%2Fxys4TKN58K7biX3%2Fy1uWwef2yFFfRLIEsdQ9BKwddKA%3D%3Db0b75ab3a147947ec5b29e1aa8be924fae665a7c
    [Accept-encoding] => gzip, br, zstd, deflate
    [Host] => sample.cikorea.net
    [Via] => 1.1 squid-proxy-5b5d847c96-tdql4 (squid/6.13)
    [X-forwarded-for] => 10.1.75.134
    [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.58
$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.0101 seconds)