lchown
(PHP 5 >= 5.1.2)
lchown — Changes user ownership of symlink
Description
bool lchown ( string $filename, mixed $user )Attempts to change the owner of the symlink filename to user user (specified by name or number). Only the superuser may change the owner of a symlink.
Vrací TRUE při úspěchu, FALSE při selhání.
Poznámka: Tato funkce nebude pracovat se vzdálenými soubory, protože zkoumaný soubor musí být dostupný přes filesystém serveru.
Poznámka: Pokud je zapnut bezpečný režim (safe-mode), PHP kontroluje, zda soubory/adresáře, se kterými pracujete, mají stejné UID jako spuštěný skript.
lchown
There are no user contributed notes for this page.
