function.mb-http-input.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Detect HTTP input character encoding</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.mb-get-info.html">mb_get_info</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.mb-http-output.html">mb_http_output</a></div> <div class="up"><a href="ref.mbstring.html">Multibyte String Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.mb-http-input" class="refentry"> <div class="refnamediv"> <h1 class="refname">mb_http_input</h1> <p class="verinfo">(PHP 4 >= 4.0.6, PHP 5)</p><p class="refpurpose"><span class="refname">mb_http_input</span> — <span class="dc-title">Detect HTTP input character encoding</span></p> </div> <div class="refsect1 description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <span class="methodname"><b><b>mb_http_input</b></b></span> ([ <span class="methodparam"><span class="type">string</span> <tt class="parameter">$type</tt></span> ] )</div> <p class="simpara"> Detects the HTTP input character encoding. </p> </div> <div class="refsect1 parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><i><tt class="parameter">type</tt></i></span> <dd> <p class="para"> 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 <a href="language.types.array.html" class="type array">array</a>). If type is omitted, it returns the last input type processed. </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> The character encoding name, as per the <i><tt class="parameter">type</tt></i>. If <b>mb_http_input()</b> does not process specified HTTP input, it returns <b><tt>FALSE</tt></b>. </p> </div> <div class="refsect1 seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"><a href="function.mb-internal-encoding.html" class="function" rel="rdfs-seeAlso">mb_internal_encoding()</a></li> <li class="member"><a href="function.mb-http-output.html" class="function" rel="rdfs-seeAlso">mb_http_output()</a></li> <li class="member"><a href="function.mb-detect-order.html" class="function" rel="rdfs-seeAlso">mb_detect_order()</a></li> </ul> </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.mb-get-info.html">mb_get_info</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.mb-http-output.html">mb_http_output</a></div> <div class="up"><a href="ref.mbstring.html">Multibyte String Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -