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
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to