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, 17 May 2013

view this page in

getmygid

(PHP 4 >= 4.1.0, PHP 5)

getmygidPHP スクリプトの所有者の GID を得る

説明

int getmygid ( void )

現在のスクリプトのグループ ID を取得します。

返り値

現在のスクリプトのグループ ID を返します。またはエラー時に FALSE を返します。

参考

  • getmyuid() - PHP スクリプト所有者のユーザー ID を取得する
  • getmypid() - PHP のプロセス ID を取得する
  • get_current_user() - 現在の PHP スクリプトの所有者の名前を取得する
  • getmyinode() - 現在のスクリプトの inode を取得する
  • getlastmod() - 最終更新時刻を取得する



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 | sitemap | contact | advertising | mirror sites