Documentation

GetWhoisLink

string
GetWhoisLink(
  string ip,
  string link_class = 
);

The function 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>

Function parameters

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

Examples of use

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


© «Bitrix24», 2001-2024