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

contributors($setup);

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

   </div>
   <div class="refsect1 unknown-634" id="refsect1-function.link-unknown-634">
    <h3 class="title">Descrizione</h3>
     <div class="methodsynopsis dc-description">
      <span class="methodname"><strong>link</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$target</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$link</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>link()</strong></span> crea un hard link. Restituisce <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> in caso di successo, <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> in caso di fallimento.
    </p>

    <blockquote class="note"><p><strong class="note">Nota</strong>: <span class="simpara">Questa funzione non opererà su
<a href="features.remote-files.php" class="link">file remoti</a> perché il file che
deve essere esaminato deve essere accessibile attraverso il filesysmte del server.</span></p></blockquote>
    <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> per creare soft link,
     e <span class="function"><a href="function.readlink.php" class="function">readlink()</a></span> assieme a
     <span class="function"><a href="function.linkinfo.php" class="function">linkinfo()</a></span>.
    </p>
    
   </div>

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