lchown
(PHP 5 >= 5.1.2)
lchown — Changes user ownership of symlink
Descrizione
bool lchown
( string $filename
, mixed $user
)
Attempts to change the owner of the symlink filename to user user .
Only the superuser may change the owner of a symlink.
Elenco dei parametri
- filename
-
Path to the file.
- user
-
User name or number.
Valori restituiti
Restituisce TRUE in caso di successo, FALSE in caso di fallimento.
Note
Nota: Questa funzione non opererà su file remoti perché il file che deve essere esaminato deve essere accessibile attraverso il filesysmte del server.
Nota: Quando safe-mode è abilitato, PHP controlla che i file o le directory sulle quali si sta andando a lavorare, abbiano lo stesso UID dello script che è in esecuzione.