Query: get_current_user
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GET_CURRENT_USER(3) 1 GET_CURRENT_USER(3) get_current_user - Gets the name of the owner of the current PHP scriptSYNOPSISstring get_current_user (void )DESCRIPTIONReturns the name of the owner of the current PHP script.RETURN VALUESReturns the username as a string.EXAMPLESExample #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: SYSTEMSEE ALSOgetmyuid(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 |
fileowner(3) - php |
lchown(3) - php |
locale_get_display_script(3) - php |
Similar Topics in the Unix Linux Community |
---|
Verifying a users password on AIX setup with LPA |