⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 function.mb-http-output.html

📁 php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Set/Get HTTP output 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-http-input.html">mb_http_input</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.mb-internal-encoding.html">mb_internal_encoding</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-output" class="refentry"> <div class="refnamediv">  <h1 class="refname">mb_http_output</h1>  <p class="verinfo">(PHP 4 &gt;= 4.0.6, PHP 5)</p><p class="refpurpose"><span class="refname">mb_http_output</span> &mdash; <span class="dc-title">Set/Get HTTP output 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_output</b></b></span>    ([ <span class="methodparam"><span class="type">string</span> <tt class="parameter">$encoding</tt></span>  ] )</div>  <p class="para rdfs-comment">   Set/Get the HTTP output character encoding.   Output after this function is converted to <i><tt class="parameter">encoding</tt></i>.  </p> </div> <div class="refsect1 parameters">  <h3 class="title">Parameters</h3>  <p class="para">   <dl>    <dt>     <span class="term"><i><tt class="parameter">encoding</tt></i></span>     <dd>      <p class="para">       If <i><tt class="parameter">encoding</tt></i> is set,       <b>mb_http_output()</b> sets the HTTP output character       encoding to <i><tt class="parameter">encoding</tt></i>.      </p>      <p class="para">       If <i><tt class="parameter">encoding</tt></i> is omitted,       <b>mb_http_output()</b> returns the current HTTP output       character encoding.      </p>     </dd>    </dt>   </dl>  </p> </div>  <div class="refsect1 returnvalues">  <h3 class="title">Return Values</h3>  <p class="para">   If <i><tt class="parameter">encoding</tt></i> is omitted,   <b>mb_http_output()</b> returns the current HTTP output   character encoding. Otherwise,    Returns <b><tt>TRUE</tt></b> on success or <b><tt>FALSE</tt></b> on failure.  </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-input.html" class="function" rel="rdfs-seeAlso">mb_http_input()</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-http-input.html">mb_http_input</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.mb-internal-encoding.html">mb_internal_encoding</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 + -