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)