<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.apache.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'function.apache-note.php',
    1 => 'apache_note',
    2 => 'Apache istek notlarını alır veya atar',
  ),
  'up' => 
  array (
    0 => 'ref.apache.php',
    1 => 'Apache İşlevleri',
  ),
  'prev' => 
  array (
    0 => 'function.apache-lookup-uri.php',
    1 => 'apache_lookup_uri',
  ),
  'next' => 
  array (
    0 => 'function.apache-request-headers.php',
    1 => 'apache_request_headers',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'tr',
    'path' => 'reference/apache/functions/apache-note.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.apache-note" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">apache_note</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">apache_note</span> &mdash; <span class="dc-title">Apache istek notlarını alır veya atar</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.apache-note-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>apache_note</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$not_adı</code></span>, <span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.string.php" class="type string">string</a></span></span> <code class="parameter">$note_değeri</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>): <span class="type"><span class="type"><a href="language.types.string.php" class="type string">string</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">
   Bu işlev Apache&#039;nin <code class="literal">table_get</code> ve <code class="literal">table_set</code> işlevleri
   için bir sarmalayıcıdır. Bir istek sırasında var olan not tablosunu düzenler. Tablonun
   amacı Apache modüllerinin iletişimini sağlamaktır.
  </p>
  <p class="para">
   <span class="function"><strong>apache_note()</strong></span> işlevinin ana kullanım amacı aynı istek dahilinde bir
   modülden diğerine bilgi aktarmaktır.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.apache-note-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">not_adı</code></dt>
     <dd>
      <p class="para">
       Notun adı.
      </p>
     </dd>
    
    
     <dt><code class="parameter">not_değeri</code></dt>
     <dd>
      <p class="para">
       Notun değeri.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.apache-note-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   <code class="parameter">not_değeri</code> verilmezse ya da <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> ise
   <code class="literal">not_adı</code> notunun o anki değerini döndürür. Aksi
   takdirde <code class="literal">not_değeri</code> değerini <code class="literal">not_adı</code>
   notuna atar ve <code class="literal">not_adı</code> notunun önceki değerini döndürür.
   Eğer işlem başarısız olursa <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> döner.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.apache-note-changelog">
  <h3 class="title">Sürüm Bilgisi</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Sürüm: </th>
      <th>Açıklama</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>8.0.0</td>
      <td>
       <code class="parameter">note_değeri</code> artık boş olabiliyor.
      </td>
     </tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 examples" id="refsect1-function.apache-note-examples">
  <h3 class="title">Örnekler</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>Örnek 1 PHP ve Perl arasında bilgi aktarımı</strong></p>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /><br />apache_note</span><span style="color: #007700">(</span><span style="color: #DD0000">'name'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Fredrik Ekengren'</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">// Perl betiğini çağıralım<br /></span><span style="color: #0000BB">virtual</span><span style="color: #007700">(</span><span style="color: #DD0000">"/perl/bir_betik.pl"</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">$result </span><span style="color: #007700">= </span><span style="color: #0000BB">apache_note</span><span style="color: #007700">(</span><span style="color: #DD0000">"resultdata"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
    </div>

    <div class="example-contents">
<div class="perlcode"><pre class="perlcode"># Apache istek nesnesini alalım
my $r = Apache-&gt;request()-&gt;main();

# Aktarılan veriyi alalım
my $name = $r-&gt;notes(&#039;name&#039;);

# bir takım işlemler...

# Sonucu PHP&#039;ye geri aktaralım
$r-&gt;notes(&#039;resultdata&#039;, $result);</pre>
</div>
    </div>

   </div>
  </p>
  <p class="para">
   <div class="example" id="example-2">
    <p><strong>Örnek 2 - access.log dosyasındaki oturum değerleri</strong></p>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /><br />apache_note</span><span style="color: #007700">(</span><span style="color: #DD0000">'sessionID'</span><span style="color: #007700">, </span><span style="color: #0000BB">session_id</span><span style="color: #007700">());<br /><br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
    </div>

    <div class="example-contents">
<div class="apachecode"><pre class="apachecode"># &quot;%{sessionID}n&quot; can be used in the LogFormat directive</pre>
</div>
    </div>

   </div>
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.apache-note-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.virtual.php" class="function" rel="rdfs-seeAlso">virtual()</a> - Bir Apache alt isteği ger&ccedil;ekleştirir</span></li>
   </ul>
  </p>
 </div>


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