PHP: getmygid - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

getmyinode getlastmod

Last updated: Fri, 26 Jan 2007

view this page in

# getmygid

(PHP 4 >= 4.1.0, PHP 5)

getmygid -- Get PHP script owner's GID

## Description

int getmygid ( void )

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

See also getmyuid(), getmypid(), get_current_user(), getmyinode(), and getlastmod().

add a note User Contributed Notes
getmygid
07-May-2006 10:04
`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.`
add a note
getmyinode getlastmod

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST