Changes the group of a file.
This function changes the group of a file. The group specified can either be in numerical form or the name of the user. TRUE is returned on success. If an error occurs, FALSE is returned.
<?php
if (chgrp("file.txt", "root")) {
print "File group changed";
}
?> File group changedThe group of a file is changed.