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

search for in the

posix_initgroups> <posix_getsid
[edit] Last updated: Fri, 17 May 2013

view this page in

posix_getuid

(PHP 4, PHP 5)

posix_getuidLiefert die reale Benutzer-ID des aktuellen Prozesses

Beschreibung

int posix_getuid ( void )

Gibt die reale numerische Benutzer-ID des aktuellen Prozesses zurück.

Rückgabewerte

Gibt die Kennung als Ganzzahl zurück.

Beispiele

Beispiel #1 posix_getuid()-Beispiel

<?php
echo posix_getuid(); //10000
?>

Siehe auch

  • posix_getpwuid() - Liefert zu einer Benutzer-ID Informationen über diese Benutzerin
  • POSIX GETUID(2)-Manpage



add a note add a note User Contributed Notes posix_getuid - [1 notes]
up
1
chris at ocportal dot com
4 years ago
Note that this function is not defined on Windows PHP.

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