Skip to main content

posix_getegid

Code:
<?php
echo 'My effective group id is ('.posix_getegid().')<br><br>';
echo "read file id" ,"<br>";
echo "<textarea method='POST' cols='95' rows='30' wrar='off' >";
echo "//--------------- user groups & id -----------------//" ;
print "\n";
for($uid=0;$uid<6000;$uid++){
$ara = posix_getgrgid($uid);
if (empty($ara)) {

}else{
    while (list ($key, $val) = each($ara)){
        $m=$val;
        print_r("$val==");
        }
        print "\n";
        }}
echo "</textarea>";
break;
?>

Share this with your friends
Loading...