Change the usergroup of the specified file with chgrp() function in PHP

Description

The following code shows how to change the usergroup of the specified file with chgrp() function.

Example


//from  w w  w . ja v a2 s .  com

<?php
    chgrp("test.txt","admin")
?>




















Home »
  PHP Tutorial »
    File »




Directory
DirectoryIterator
Drive
File
File Permission
File Read Save
FileSystemIterator
Path
Zip