Triviálny príklad na fingernutie používateľa.

<?
 
 // 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;
 }
 
?>