Revision: 1765
Updated Code
at November 10, 2006 00:06 by whitetiger
Updated Code
<?php // Client di Finger $fp = fsockopen('kernel.org', 79); // Si collega al seguente server nella porta 79 fputs($fp, '@kernel.org\n'); // Manda una richiesta echo '<table border=\'0\' cellspacing=\'1\' cellpadding=\'1\' bgcolor=\'black\'>'; while( !feof($fp) ) { $text = fgets($fp, 128); // Ritorna una risposta if(trim($text) != '') { echo '<tr bgcolor=\'white\'>'; echo '<td>'; echo '<font face=\'Arial\' size=\'-2\'>' . trim($text) . '</font>'; echo '</td>'; echo '</tr>'; } } echo '</table>'; fclose($fp); ?>
Revision: 1764
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 9, 2006 23:55 by whitetiger
Initial Code
<?php // Client di Finger $fp = fsockopen('kernel.org', 79); // Si collega al seguente server nella porta 79 fputs($fp, '@kernel.org\n'); // Manda una richiesta echo '<table border=\'0\' cellspacing=\'1\' cellpadding=\'1\' bgcolor=\'black\'>'; while( !feof($fp) ) { $text = fgets($fp, 128); // Ritorna una risposta if(trim($text) != '') { echo '<tr bgcolor=\'white\'>'; echo '<td>'; echo '<font face=\'Arial\' size=\'-2\'>' . trim($text) . '</font>'; echo '</td>'; echo '</tr>'; } } echo '</table>'; fclose($fp); ?>
Initial URL
Initial Description
Initial Title
PHP - Finger PHP Simple Client
Initial Tags
regex, url, php, path, htaccess, web
Initial Language
PHP