September 2001
Intermediate to advanced
768 pages
32h 45m
English
int getmyuid(void)
Displays the UID of the current script.
Returns:
User ID; FALSE on error
Description:
This function returns the user ID (UID) of the user executing the PHP script. For users of Apache, this would be the user that Apache is running as. This and other related functions may not work correctly in the Win32 version of PHP.
Example:
// this does not work in Windows $uid = getmyuid(); echo $uid; |
Read now
Unlock full access