Search Results
Return Values ¶ The character encoding name, as per the type, or an array of character encoding names, if type is "I". If mb_http_input () does not process specified HTTP input, it returns false.
Mar 30, 2023 · If the type is missing then it returns the last input type processed. Return Value: This function will return the character encoding name or an array of character encoding names, depending on the type. It returns "false" if the function does not process specified HTTP input. Example 1: The following code demonstrates the mb_http_input () function.
Execute mb_http_input Online. Info and examples on mb_http_input PHP Function from Multibyte String - Human Language and Character Encoding Support
The mb_http_input () function helps detect character encodings from HTTP input data, making it valuable for handling international content in web applications. Use it to ensure proper character encoding detection when processing user input from different sources.
La fonction mb_http_input () nécessite une prise en charge de l'extension MBSTring. Assurez-vous que l'extension MBSTRING est activée dans le fichier de configuration PHP.
Parameters 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.
Le nom de l'encodage des caractères en fonction de type, ou un tableau de nom de jeux d'encodage, si type est "I". Si mb_http_input () ne traite pas l'entrée HTTP spécifiée, elle retournera false.
