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");
?>
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.