PHP
downloads | documentation | faq | getting help | mailing lists | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

link> <lchgrp
Last updated: Sun, 25 Nov 2007

view this page in

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.



add a note add a note User Contributed Notes
lchown
There are no user contributed notes for this page.

link> <lchgrp
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites