PHP.nl

posix_getlogin

posix_getlogin

Return login name

 **posix_getlogin**

Returns the login name of the user owning the current process.

Returns the login name of the user, as a , return.falseforfailure. string

**Voorbeeld: Example use of **

<?php
echo posix_getlogin(); //apache
?>

posix_getpwnam