get_current_user(3) php man page | unix.com

Man Page: get_current_user

Operating Environment: php

Section: 3

GET_CURRENT_USER(3)							 1						       GET_CURRENT_USER(3)

get_current_user - Gets the name of the owner of the current PHP script

SYNOPSIS
string get_current_user (void )
DESCRIPTION
Returns the name of the owner of the current PHP script.
RETURN VALUES
Returns the username as a string.
EXAMPLES
Example #1 get_current_user(3) example <?php echo 'Current script owner: ' . get_current_user(); ?> The above example will output something similar to: Current script owner: SYSTEM
SEE ALSO
getmyuid(3), getmygid(3), getmypid(3), getmyinode(3), getlastmod(3). PHP Documentation Group GET_CURRENT_USER(3)
Related Man Pages
chown(3) - php
rmdir(3) - php
_env(3) - php
locale_get_display_script(3) - php
memory_get_usage(3) - php
Similar Topics in the Unix Linux Community
Verifying a users password on AIX setup with LPA