MB_HTTP_INPUT(3) 1 MB_HTTP_INPUT(3)
mb_http_input - Detect HTTP input character encoding
SYNOPSIS
mixed mb_http_input ([string $type = ""])
DESCRIPTION
Detects the HTTP input character encoding.
PARAMETERS
o $type
- Input string specifies the input type. "G" for GET, "P" for POST, "C" for COOKIE, "S" for string, "L" for list, and "I" for the
whole list (will return array). If type is omitted, it returns the last input type processed.
RETURN VALUES
The character encoding name, as per the $type. If mb_http_input(3) does not process specified HTTP input, it returns FALSE.
SEE ALSO
mb_internal_encoding(3), mb_http_output(3), mb_detect_order(3).
PHP Documentation Group MB_HTTP_INPUT(3)