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.
![]() | getmygidDescriptionint getmygid ( void )Returns the group ID of the current script, or FALSE on error. See also getmyuid(), getmypid(), get_current_user(), getmyinode(), and getlastmod(). ![]()
08-May-2006 01:04
To clarify, the getmygid() function gets the gid of the PHP script, that is the gid of the file. | ![]() |