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.1.0, 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 devueltos
Devuelve el ID de grupo del script actual, o FALSE en caso de error.
Ver también
- getmyuid() - Obtiene el UID del dueño del script PHP
- getmypid() - Obtiene el ID del proceso PHP
- get_current_user() - Obtiene el nombre del propietario del script PHP actual
- getmyinode() - Obtiene el inode del script actual
- getlastmod() - Obtiene la hora de la última modificación de la página
07-May-2006 10:04
