PHP.nl

mb_http_input

mb_http_input

Detect HTTP input character encoding

 **mb_http_input**  $type

Detects the HTTP input character encoding.

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

The character encoding name, as per the , or an array of character encoding names, if is . If does not process specified HTTP input, it returns false. type``type``"I"``mb_http_input

Throws a if is invalid. type

mb_internal_encoding``mb_http_output``mb_detect_order