fchmod()

 
Changes a files or directory permissions.
Syntax
fchmod( path, mode )
Returns 1 if sucessful, 0 if fails
  • path = fully qualified path to the file
  • mode_number = ( nnnn decimal number) or '0nnnn' (octal string)
User Annotations: fchmod