The Server Pages
:: TSP Menu
- Home
- Authors
- Glossary
- RSS Feed

:: Servers
- CPanel
- Hosting
- Linux
- Windows

:: Webmaster
- Databases
- Design
- PHP
- Search Engines

:: Scripts
- Scripts

:: Documentation
- PHP Manual

:: Other
- Errors & Solutions
- TechPunt
- Wojjie

search for in the

getmyinode> <getlastmod
[edit] Last updated: Sat, 12 May 2012

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
07-May-2006 05: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.

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