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 — Restituisce il GID del proprietario dello script PHP
Descrizione
int getmygid
( void
)
Restituisce l'ID del gruppo del proprietario dello script, oppure FALSE per errore.
Vedere anche getmyuid(), getmypid(), get_current_user(), getmyinode() e getlastmod().
