lchown
(PHP 5 >= 5.1.2)
lchown — Changes user ownership of symlink
Popis
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.
Parametre
- filename
-
Path to the file.
- user
-
User name or number.
Vrátené hodnoty
Vracia TRUE pri úspechu alebe FALSE pri chybe.
Poznámky
Note: Táto funkcia nebude fungovať na vzdialených súboroch, pretože súbor na preskúmanie musí byť prístupný cez súborový systém serveru.
Note: Keď je safe mode povolený, PHP zisťuje, či súbory alebo adresáre, na ktorých idete pracovať, majú rovnaké UID (vlastník) ako skript, ktorý sa spracováva.
lchown
There are no user contributed notes for this page.
