Ïðèãëàøàåì ïîñåòèòü
ßçûêîâ (yazykov.lit-info.ru)

Reference: getlogin

PreviousChapter 5
Function Reference
Next
 

getlogin

getlogin

Returns the current login from /etc/utmp (Unix systems only), if any. If null, use getpwuid. For example:

$login = getlogin || getpwuid($<) || "Intruder!!";


PreviousHomeNext
Reference: gethostentBook IndexReference: getnetbyaddr