Re: How to get user full name using PHP function?

From: Date: Wed, 27 Mar 2002 06:52:36 +0000
Subject: Re: How to get user full name using PHP function?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-90323@lists.php.net to get a copy of this message
On Wednesday 27 March 2002 14:44, gaukia 345 wrote: > Hi all, > > I'm writing a web mail. Having problem grabbing user full name to be > included in the email. So I hv a few questions: > > 1) How do I fetch the user's full name using a PHP function WITHOUT calling > system program finger? I already have the Linux user ID and password since > I am using HTTP authentication. > > 2) How do I fetch it using finger? > > 3) Do I put the full name in the from->personal variable? Where did you want to get the user's full name from !?! Assuming the people using your webmail have system accounts on the machine running your webmail then you could try looking in /etc/passwd. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk /* politics, n.: A strife of interests masquerading as a contest of principles. The conduct of public affairs for private advantage. -- Ambrose Bierce */

« previous php.general (#90323) next »