home *** CD-ROM | disk | FTP | other *** search
- Finger
-
- Function to utilize the finger service
-
-
-
- <?php
-
- // Usage: echo finger(hostname [,username, [port]]);
- Function finger ($host, $user="", $port=79) {
- $rc=fsockopen($host,$port);
- fputs($rc,"$user\n");
- while (!feof($rc)) { $str .= fgets($rc,128); }
- fclose($rc);
- return $str;
- }
-
- ?>
-
-