CI_Input::request_headers()

request_headers([$xss_clean = FALSE])

Parameters:
  • $xss_clean (bool) – Whether to apply XSS filtering
Returns:

An array of HTTP request headers

Return type:

array

Returns an array of HTTP request headers. Useful if running in a non-Apache environment where apache_request_headers() will not be supported.

$headers = $this->input->request_headers();
doc_CodeIgniter
2016-10-15 16:31:40
Comments
Leave a Comment

Please login to continue.