downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<posix_getgroupsposix_getpgid>
Last updated: Thu, 26 Jun 2008

posix_getlogin

(PHP 4, PHP 5)

posix_getlogin — Return login name

Description

string posix_getlogin ( void )

Returns the login name of the user owning the current process.

Return Values

Returns the login name of the user, as a string.

Examples

Example #1 Example use of posix_getlogin()

<?php
echo posix_getlogin(); //apache
?>

See Also



add a noteadd a note User Contributed Notes
Return login name
There are no user contributed notes for this page.




<posix_getgroupsposix_getpgid>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs