Re: Getting File Owner Name
| From: | Jim Giner | Date: | Mon, 13 Jun 2011 19:26:27 +0000 |
| Subject: | Re: Getting File Owner Name | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-313501@lists.php.net to get a copy of this message | ||
fileowner returns the username OF the file's OWNER. Isn't that what you
want? You don't think you're going to get their first and last name do you?
"Floyd Resler" <fresler@adex-intl.com> wrote in message
news:693F2104-A45D-403F-9C1D-13AD6E4FC12B@adex-intl.com...
Is there a way I can get the name of a file's owner. I know I can get the
username by doing this:
posix_getpwuid(fileowner($filename));
How can I get the actual name of the owner?
Thanks!
Floyd