chmod

Example

 bool chmod ( string $filename , int $mode ) 

Description

Attempts to change the mode of the specified file to that given in mode.

Return Values

Returns TRUE on success or FALSE on failure.