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 — Get PHP script owner's GID
설명
int getmygid
( void
)
Gets the group ID of the current script.
반환값
Returns the group ID of the current script, or FALSE on error.
참고
- getmyuid() - Gets PHP script owner's UID
- getmypid() - Gets PHP's process ID
- get_current_user() - 현재 PHP 스크립트 소유자의 이름을 얻습니다
- getmyinode() - Gets the inode of the current script
- getlastmod() - 페이지를 수정한 최종 시간을 얻습니다
getmygid
07-May-2006 05:04
