<?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 => 'it',
  ),
  'this' => 
  array (
    0 => 'function.readlink.php',
    1 => 'readlink',
    2 => 'Restituisce il target di un link simbolico',
  ),
  'up' => 
  array (
    0 => 'ref.filesystem.php',
    1 => 'Filesystem Funzioni',
  ),
  'prev' => 
  array (
    0 => 'function.readfile.php',
    1 => 'readfile',
  ),
  'next' => 
  array (
    0 => 'function.realpath.php',
    1 => 'realpath',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'it',
    'path' => 'reference/filesystem/functions/readlink.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.readlink" class="refentry">
   <div class="refnamediv">
    <h1 class="refname">readlink</h1>
    <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">readlink</span> &mdash; <span class="dc-title">Restituisce il target di un link simbolico</span></p>

   </div>
   <div class="refsect1 unknown-652" id="refsect1-function.readlink-unknown-652">
    <h3 class="title">Descrizione</h3>
     <div class="methodsynopsis dc-description">
      <span class="methodname"><strong>readlink</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$path</code></span>): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

    <p class="para rdfs-comment">
    <span class="function"><strong>readlink()</strong></span> si comporta analogamente alla funzione readlink
     di C e restituisce i conenuti del link simbolico path oppure <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>
     in caso d&#039;errore.
    </p>
    <p class="para">
    <div class="example" id="example-1">
     <p><strong>Example #1 Esempio di uso di <span class="function"><strong>readlink()</strong></span></strong></p>
     <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /></span><span style="color: #FF8000">// ad esempio visualizza /boot/vmlinux-2.4.20-xfs<br /></span><span style="color: #007700">echo </span><span style="color: #0000BB">readlink</span><span style="color: #007700">(</span><span style="color: #DD0000">'/vmlinuz'</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
      </div>

     </div>
    </p>
    <blockquote class="note"><p><strong class="note">Nota</strong>: <span class="simpara">Questa funzione non è
implementata sulle piattaforme Windows.</span></p></blockquote>
    <p class="para">
     Vedere anche 
       <span class="function"><a href="function.symlink.php" class="function">symlink()</a></span>,
     <span class="function"><strong>readlink()</strong></span> e
     <span class="function"><a href="function.linkinfo.php" class="function">linkinfo()</a></span>.
    </p>
   </div>

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