<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.filesystem.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'function.symlink.php',
    1 => 'symlink',
    2 => 'Bir sembolik bağ oluşturur',
  ),
  'up' => 
  array (
    0 => 'ref.filesystem.php',
    1 => 'Dosya Sistemi İşlevleri',
  ),
  'prev' => 
  array (
    0 => 'function.stat.php',
    1 => 'stat',
  ),
  'next' => 
  array (
    0 => 'function.tempnam.php',
    1 => 'tempnam',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'tr',
    'path' => 'reference/filesystem/functions/symlink.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.symlink" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">symlink</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">symlink</span> &mdash; <span class="dc-title">Bir sembolik bağ oluşturur</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.symlink-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>symlink</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$hedef</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$bağ</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   <span class="function"><strong>symlink()</strong></span> işlevi mevcut <code class="parameter">hedef</code>&#039;e
   <code class="parameter">bağ</code> bağımsız değişkeninde belirtilen isimle bir sembolik
   bağ oluşturur.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.symlink-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">hedef</code></dt>
     <dd>
      <p class="para">
       Bağın hedefi.
      </p>
     </dd>
    
    
     <dt><code class="parameter">bağ</code></dt>
     <dd>
      <p class="para">
       Sembolik bağın ismi.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.symlink-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   Başarı durumunda <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>, başarısızlık durumunda <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> döner.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-function.symlink-errors">
  <h3 class="title">Hatalar/İstisnalar</h3>
  <p class="para">
  <code class="parameter">bağ</code> dosyası zaten varsa bu işlev başarısız olur ve
   bir <strong><code><a href="errorfunc.constants.php#constant.e-warning">E_WARNING</a></code></strong> çıktılar.
   Windows üzerinde, buna ek olarak <code class="parameter">hedef</code> dosyasının
   yokluğu da işlevin başarısız olmasına ve bir <strong><code><a href="errorfunc.constants.php#constant.e-warning">E_WARNING</a></code></strong>
   çıktılanmasına sebep olur.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.symlink-examples">
  <h3 class="title">Örnekler</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>Örnek 1 - Bir sembolik bağ oluşturmak</strong></p>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />$hedef </span><span style="color: #007700">= </span><span style="color: #DD0000">'uploads.php'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$bağ </span><span style="color: #007700">= </span><span style="color: #DD0000">'uploads'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">symlink</span><span style="color: #007700">(</span><span style="color: #0000BB">$hedef</span><span style="color: #007700">, </span><span style="color: #0000BB">$bağ</span><span style="color: #007700">);<br /><br />echo </span><span style="color: #0000BB">readlink</span><span style="color: #007700">(</span><span style="color: #0000BB">$bağ</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
    </div>

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


 <div class="refsect1 seealso" id="refsect1-function.symlink-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.link.php" class="function" rel="rdfs-seeAlso">link()</a> - Sabit bir bağ oluşturur</span></li>
    <li><span class="function"><a href="function.readlink.php" class="function" rel="rdfs-seeAlso">readlink()</a> - Bir sembolik bağın hedefi ile d&ouml;ner</span></li>
    <li><span class="function"><a href="function.linkinfo.php" class="function" rel="rdfs-seeAlso">linkinfo()</a> - Bir bağ hakkında bilgi verir</span></li>
    <li><span class="function"><a href="function.unlink.php" class="function" rel="rdfs-seeAlso">unlink()</a> - Bir dosyayı siler</span></li>
   </ul>
  </p>
 </div>


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