bool chmod ( string $filename , int $mode )
Attempts to change the mode of the specified file to that given in mode.
Returns TRUE on success or FALSE on failure.