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

 
 

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

Advertisement

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


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: September 24, 2009

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com