To clarify, the getmygid() function gets the gid of the PHP script, that is the gid of the file.
To get the effective gid of the running PHP engine, use the posix_getegid() function.
getmygid
(PHP 4 >= 4.0.7, PHP 5)
getmygid — Obtener el GID del dueño del script PHP
Descripción
int getmygid
( void
)
Obtiene el ID de grupo del script actual.
Valores retornados
Devuelve el ID de grupo del script actual, o FALSE en caso de error.
getmygid
07-May-2006 10:04
