dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

getmyinode> <getlastmod
[edit] Last updated: Fri, 28 Jun 2013

view this page in

getmygid

(PHP 4 >= 4.1.0, PHP 5)

getmygidGet PHP script owner's GID

Description

int getmygid ( void )

Gets the group ID of the current script.

Return Values

Returns the group ID of the current script, or FALSE on error.

See Also



add a note add a note User Contributed Notes getmygid - [1 notes]
up
-1
Anonymous
7 years ago
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.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites