구분 질의
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=wE8WclgmCkr4iSKXkIlGeor9wZsh3yhWbFm71%2F83s%2B8IsZs%2BRc7BYBEuFY8OkuPaJbd9Z69uq6DEb45b9sEX%2Bk5A8FiEhfvLCjfMVeSEbrwbXzzlCzwmVr21DfzXrWRSGpNjPCD8lLQe7MjHq00wsl%2FprkrJKAwzDcD4zK4CMm6Yraec1p2XRdMUkVDGvWOwR5GcsLyOuq4WPODk8130JORnYf9Qd8A4D%2F3hwBzIGm21Ul0v6kSZaXEJWCerRFV5IQRf3lK14KmIYBOwItrYa4lHDG5zKm3kCpOJIOBrPJMWGYklFq2RhFk35fLcX19mqQyQ6Cpl1dpboM28XCn8eNpZZ%2B0Q%2FBEJ4vZo1saGH77B1XyJwevcGdP0VDX%2BpI8LvoHcaf4XIfxDWpPS2zGp8n%2Fbtuz8NVwec2qqqwC%2F3y3PIcucd5%2BYOoxf9WUY9Z4uo14NhHhzWNhRbXQfagN8uw%3D%3D5186103ec74bb0cfe4c97f7250de5d8ac9cef0ce
    [Accept-encoding] => gzip, br, zstd, deflate
    [Host] => sample.cikorea.net
    [Via] => 1.1 squid-proxy-5b5d847c96-lwmz6 (squid/6.10)
    [X-forwarded-for] => 10.1.248.192
    [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.35
$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.0042 seconds)