> If I was looking for one that came the closest I was looking for, it
> would be the Webdog one. If any of you know of any scripts that will
> let me run a finger server on my machine with our without MySQL, then
> send me a holler. THX! :) --

I assume you mean a PHP based finger client, not server.

Picked this out of the PHP-HOWTO on linuxdoc.org, modified it to work with
php4:

function finger ($host, $user)
{
    $fp = fsockopen($host, 79, $errno, $errstr) or die("$errno: $errstr");
    fputs($fp, "$user\n");
    while (!feof($fp))
        echo fgets($fp, 128);
    fclose($fp);
}

Usage:
finger("idsoftware.com", "zaphod");

Original URL: http://www.linuxdoc.org/HOWTO/PHP-HOWTO-19.html, it's in
Section 19.3.

Justin Buist
Trident Technology, Inc.
4700 60th St. SW, Suite 102
Grand Rapids, MI  49512
Ph. 616.554.2700
Fx. 616.554.3331
Mo. 616.291.2612


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to