I need your help, Still learning how work this lkjqsgfhjksgfhkdjsghsghf of php
I want to retrieve the gid of a group by php, I know how to do it by perl, I could find it and save it in a db during a template-expand, but I would do it directly in the server-manager.
for what I saw, I could install php-process and use some functions, but it doesn’t work (I tested my function with a standard ($a=‘toto’;return $a;), the problem is not here)
private function readgid()
$a = $this->parameters[‘OwningGroup’];
$gid = posix_getegid (’$a’);