Copyright © tutorialspoint.com
| bool chgrp ( string $filename, mixed $group ); |
Attempts to change the group of the file filename to group.
| Parameter | Description |
|---|---|
| filename | Path to the file. |
| group | A group name or number. |
Returns TRUE on success or FALSE on failure.
Following is the usage of this function:
<?php $filename = "/home/httpd/html/index.php"; chgrp ( $filename, "guest" ); ?> |
Copyright © tutorialspoint.com