Bitrix Site Manager

GetWhoisLink

string
GetWhoisLink(
  string ip,
  string link_class = "tablebodylink"
)

The function GetWhoisLink returns a link to one of the Whois servers used to obtain information on the specified IP address.

The link format is as follows:
<a href="http://www.whois.sc/ip" class="link_class">ip</a>

Parameters

ParameterDescription
ip The IP address in the format XXX.XXX.XXX.XXX for which the link is to be created.
link_class CSS class of the link.

Example



<?
echo GetWhoisLink("210.49.16.111");
?>