okies...This code should be considered as an OPTION only, it works under MY set of circumstances, and that is all I intended. The below funtion will return the NAME of the GROUP if provided with the Group ID# function RC_posix_getgrgid($gid) { $LocationGroup = "/etc/group"; //EDIT THIS IF YOU HAVE A DIFFERENT OS. mine = debian $fp = fopen ("/etc/group","r"); while ($groupinfo = fscanf ($fp, "%[a-zA-Z0-9]:x:%[0-9]:%[a-zA-Z0-9]\n")) { list ($name, $groupID, $nfi) = $groupinfo; if ($groupID == $gid) { $returnval = $name; } } fclose($fp); if($returnval) { return $returnval; } else { return 0; } }