(PHP 4, PHP 5, PHP 7)
Return login name
string posix_getlogin ( void )
Returns the login name of the user owning the current process.
Returns:
Returns the login name of the user, as a string.
Examples:
Example use of posix_getlogin()
<?php echo posix_getlogin(); //apache ?>
See also:
Please login to continue.