您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

mb_http_input

(PHP 4 >= 4.0.6, PHP 5)

mb_http_input — Detect HTTP input character encoding

说明

mixed mb_http_input ([ string $type ] )

mb_http_input() returns result of HTTP input character encoding detection.

type : Input string specifies input type. "G" for GET, "P" for POST, "C" for COOKIE, "S" for string, "L" for list, "I" for whole list (will return array). If type is omitted, it returns last input type processed.

Return Value: Character encoding name. If mb_http_input() does not process specified HTTP input, it returns FALSE.

See also mb_internal_encoding(), mb_http_output(), mb_detect_order().