The PHP filegroup() function can be used to get the group id of the file.
The PHP filegroup() function can be used to get the group id of the file.
Example of filegroup() function in PHP
Syntax of filegroup()in PHP
int filegroup ( filename)
It gives the groupid in integer format of the given file based on UNIX o/s
To convert it to proper format use the posix_getgrgid() function
This will convert it to group name
It doesn't work on window
Code for php filegroup() Function
<?php
echo filegroup("c:/rose1/ram.txt");
?>