Home Tutorial Php Phpfiles The filegroup() function, filegroup php, filegroup() in php

 
 

The filegroup() function, filegroup php, filegroup() in php
Posted on: September 24, 2009 at 12:00 AM
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");
?>

Related Tags for The filegroup() function, filegroup php, filegroup() in php:


Ask Questions?

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.