PHP link() Funzione
❮ Riferimento al file system PHPEsempio
Crea un collegamento reale:
<?php
$target = "text.txt";
$linkname = "mylink";
link($target, $linkname);
?>
Definizione e utilizzo
La funzione link() crea un collegamento fisico.
Sintassi
link(target, link)
Valori dei parametri
Parameter | Description |
---|---|
target | Required. Specifies the target |
link | Required. Specifies the name of the link |
Dettagli tecnici
Valore di ritorno: | VERO in caso di successo, FALSO in caso di fallimento |
---|---|
Versione PHP: | 4.0+ |
Registro delle modifiche PHP: | PHP 5.3.0: ora disponibile su piattaforme Windows |
❮ Riferimento al file system PHP