PHP
downloads | documentation | faq | getting help | mailing lists | 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

Description

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.

Parameters

filename

Path to the file.

user

User name or number.

Return Values

Επιστρέφει TRUE σε επιτυχία ή FALSE σε αποτυχία.

Notes

Note: Αυτή η συνάρτηση δεν θα δουλέψει σε απομακρυσμένα αρχεία αφού το υπό εξέταση αρχείο πρέπει να είναι προσβάσιμο μέσω του filesystem του server.

Note: Όταν το safe mode είναι ενεργοποιημένο, η PHP ελέγχει τα αρχεία ή οι κατάλογοι στους οποίους πρόκειται να ενεργήσετε έχουν το ίδιο UID (ιδιοκτήτη) όπως το script το οποίο εκτελείται.

Δείτε επίσης



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