<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.mailparse.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'function.mailparse-msg-extract-part-file.php',
    1 => 'mailparse_msg_extract_part_file',
    2 => 'Extracts/decodes a message section',
  ),
  'up' => 
  array (
    0 => 'ref.mailparse.php',
    1 => 'Mailparse İşlevleri',
  ),
  'prev' => 
  array (
    0 => 'function.mailparse-msg-extract-part.php',
    1 => 'mailparse_msg_extract_part',
  ),
  'next' => 
  array (
    0 => 'function.mailparse-msg-extract-whole-part-file.php',
    1 => 'mailparse_msg_extract_whole_part_file',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/mailparse/functions/mailparse-msg-extract-part-file.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.mailparse-msg-extract-part-file" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">mailparse_msg_extract_part_file</h1>
  <p class="verinfo">(PECL mailparse &gt;= 0.9.0)</p><p class="refpurpose"><span class="refname">mailparse_msg_extract_part_file</span> &mdash; <span class="dc-title">Extracts/decodes a message section</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.mailparse-msg-extract-part-file-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>mailparse_msg_extract_part_file</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$mimemail</code></span>, <span class="methodparam"><span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span> <code class="parameter">$filename</code></span>, <span class="methodparam"><span class="type"><a href="language.types.callable.php" class="type callable">callable</a></span> <code class="parameter">$callbackfunc</code><span class="initializer"> = ?</span></span>): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

  <p class="simpara">
   Extracts/decodes a message section from the supplied filename.
  </p>
  <p class="simpara">
   The contents of the section will be decoded according to their transfer
   encoding - base64, quoted-printable and uuencoded text are supported.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.mailparse-msg-extract-part-file-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <dl>
   
    <dt><code class="parameter">mimemail</code></dt>
    <dd>
     <span class="simpara">
      A valid <code class="literal">MIME</code> resource, created with
      <span class="function"><a href="function.mailparse-msg-create.php" class="function">mailparse_msg_create()</a></span>.
     </span>
    </dd>
   
   
    <dt><code class="parameter">filename</code></dt>
    <dd>
     <span class="simpara">
      Can be a file name or a valid stream resource.
     </span>
    </dd>
   
   
    <dt><code class="parameter">callbackfunc</code></dt>
    <dd>
     <span class="simpara">
      If set, this must be either a valid callback that will be passed the
      extracted section, or <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> to make this function return the
      extracted section.
     </span>
     <span class="simpara">
      If not specified, the contents will be sent to &quot;stdout&quot;.
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.mailparse-msg-extract-part-file-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="simpara">
   If <code class="parameter">callbackfunc</code> is not <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> returns <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> on
   success.
  </p>
  <p class="simpara">
   If <code class="parameter">callbackfunc</code> is set to <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong>, returns the
   extracted section as a string.
  </p>
  <p class="simpara">
   Returns <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> on error.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.mailparse-msg-extract-part-file-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.mailparse-msg-extract-part.php" class="function" rel="rdfs-seeAlso">mailparse_msg_extract_part()</a> - Extracts/decodes a message section</span></li>
   <li><span class="function"><a href="function.mailparse-msg-extract-whole-part-file.php" class="function" rel="rdfs-seeAlso">mailparse_msg_extract_whole_part_file()</a> - Extracts a message section including headers without decoding the transfer encoding</span></li>
  </ul>
 </div>


</div><?php manual_footer($setup); ?>