Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 4196

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Detect HTTP input character encoding</title>

 </head>
 <body><div class="manualnavbar" 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 &gt;= 4.0.6, PHP 5)</p><p class="refpurpose"><span class="refname">mb_http_input</span> &mdash; <span class="dc-title">Detect HTTP input character encoding</span></p>

 </div>
   
 <div class="refsect1 description" id="refsect1-function.mb-http-input-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"><strong>mb_http_input</strong></span>
    ([ <span class="methodparam"><span class="type">string</span> <code class="parameter">$type</code><span class="initializer"> = &quot;&quot;</span></span>
  ] )</div>

  <p class="simpara">
   Detects the HTTP input character encoding.
  </p>
 </div>

 
 <div class="refsect1 parameters" id="refsect1-function.mb-http-input-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    <dt>

     <span class="term"><em><code class="parameter">type</code></em></span>
     <dd>

      <p class="para">
       Input string specifies the input type. 
       &quot;G&quot; for GET, &quot;P&quot; for POST, &quot;C&quot; for COOKIE, &quot;S&quot; for string, &quot;L&quot; for list, and
       &quot;I&quot; for the whole list (will return <span class="type"><a href="language.types.array.html" class="type array">array</a></span>). 
       If type is omitted, it returns the last input type processed. 
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>

 
 <div class="refsect1 returnvalues" id="refsect1-function.mb-http-input-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   The character encoding name, as per the <em><code class="parameter">type</code></em>.
   If  <span class="function"><strong>mb_http_input()</strong></span> does not process specified
   HTTP input, it returns <strong><code>FALSE</code></strong>.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.mb-http-input-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="function"><a href="function.mb-internal-encoding.html" class="function" rel="rdfs-seeAlso">mb_internal_encoding()</a> - Set/Get internal character encoding</span></li>
    <li class="member"> <span class="function"><a href="function.mb-http-output.html" class="function" rel="rdfs-seeAlso">mb_http_output()</a> - Set/Get HTTP output character encoding</span></li>
    <li class="member"> <span class="function"><a href="function.mb-detect-order.html" class="function" rel="rdfs-seeAlso">mb_detect_order()</a> - Set/Get character encoding detection order</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" 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>