mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Small addition to r3915, add comments about RFC
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9317 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1139,6 +1139,8 @@ function user_unban($mode, $ban)
|
||||
|
||||
/**
|
||||
* Whois facility
|
||||
*
|
||||
* @link http://tools.ietf.org/html/rfc3912 RFC3912: WHOIS Protocol Specification
|
||||
*/
|
||||
function user_ipwhois($ip)
|
||||
{
|
||||
@@ -1153,6 +1155,7 @@ function user_ipwhois($ip)
|
||||
|
||||
if (($fsk = @fsockopen('whois.arin.net', 43)))
|
||||
{
|
||||
// CRLF as per RFC3912
|
||||
fputs($fsk, "$ip\r\n");
|
||||
while (!feof($fsk))
|
||||
{
|
||||
|
Reference in New Issue
Block a user