php man page for get_current_user

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 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
lchgrp(3) - php
lchown(3) - php
locale_get_display_script(3) - php
memory_get_usage(3) - php
php_strip_whitespace(3) - php
Similar Topics in the Unix Linux Community
Verifying a users password on AIX setup with LPA