如何解析 css 的 whois 结果?
How to parse css for whois result?
我正在使用 whoislookupscript.com 脚本进行 whois 查询,我想为每个部分设置不同的样式 eg.Registrar、注册人、管理员、技术人员,以便我的观众可以了解分离和寻找过滤注册人电子邮件 ID。
我真的不知道如何开始,如果有人可以提供任何启动器以便我可以开发它。
目前它的纯文本结帐在这里 whoislookupscript 。 com
Response from the WHOIS server (whois.tucows.com):
Domain Name: BBC.COM
Registry Domain ID: 4794897_DOMAIN_COM-VRSN
Registrar WHOIS Server: whois.tucows.com
Registrar URL: http://tucowsdomains.com
Updated Date: 2014-06-15T05:05:24Z
Creation Date: 1989-07-15T04:00:00Z
Registrar Registration Expiration Date: 2015-07-14T04:00:00Z
Registrar: TUCOWS, INC.
Registrar IANA ID: 69
Registrar Abuse Contact Email: domainabuse@tucows.com
Registrar Abuse Contact Phone: +1.4165350123
Reseller: BBC Internet Services
Reseller: hostmaster@bbc.co.uk
Reseller: +44 1737 839592
Domain Status: clientTransferProhibited
Domain Status: clientUpdateProhibited
Domain Status: serverDeleteProhibited
Domain Status: serverTransferProhibited
Registry Registrant ID:
Registrant Name: Brandon Butterworth
Registrant Organization: British Broadcasting Corporation
Registrant Street: Broadcasting House Portland Place
Registrant City: London
Registrant State/Province:
Registrant Postal Code: W1A 1AA
Registrant Country: GB
Registrant Phone: +44.3030409777
Registrant Phone Ext:
Registrant Fax:
Registrant Fax Ext:
Registrant Email: hostmaster@bbc.co.uk
Registry Admin ID:
Admin Name: Brandon Butterworth
Admin Organization: British Broadcasting Corporation
Admin Street: Broadcasting House Portland Place
Admin City: London
Admin State/Province:
Admin Postal Code: W1A 1AA
Admin Country: GB
Admin Phone: +44.3030409777
Admin Phone Ext:
Admin Fax:
Admin Fax Ext:
Admin Email: hostmaster@bbc.co.uk
Registry Tech ID:
Tech Name: Brandon Butterworth
Tech Organization: British Broadcasting Corporation
Tech Street: Broadcasting House Portland Place
Tech City: London
Tech State/Province:
Tech Postal Code: W1A 1AA
Tech Country: GB
Tech Phone: +44.3030409777
Tech Phone Ext:
Tech Fax:
Tech Fax Ext:
Tech Email: hostmaster@bbc.co.uk
Name Server: NS1.RBSOV.BBC.CO.UK
Name Server: NS1.THDOW.BBC.CO.UK
Name Server: NS1.TCAMS.BBC.CO.UK
DNSSEC: Unsigned
URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/
>>> Last update of WHOIS database: 2014-06-15T05:05:24Z <<<
Registration Service Provider:
BBC Internet Services, hostmaster@bbc.co.uk
+44 1737 839592
This company may be contacted for domain login/passwords,
DNS/Nameserver changes, and general domain support questions.
The Data in the Tucows Registrar WHOIS database is provided to you by Tucows
for information purposes only, and may be used to assist you in obtaining
information about or related to a domain name's registration record.
Tucows makes this information available "as is," and does not guarantee its
accuracy.
一旦你从 whois 记录中得到你的输出
试试
echo '<pre class="whois">';
print "<div class=\"response_display\">Response from the WHOIS server ($whois_server):<br><br>".str_replace("\n","<br /><br />",$result)."</div>";
echo '</pre>';
becoz 有时开发人员认为没有得到 \n 所以尝试上面的那个,然后你将被 break 替换,然后你可以继续这个答案
我正在使用 whoislookupscript.com 脚本进行 whois 查询,我想为每个部分设置不同的样式 eg.Registrar、注册人、管理员、技术人员,以便我的观众可以了解分离和寻找过滤注册人电子邮件 ID。
我真的不知道如何开始,如果有人可以提供任何启动器以便我可以开发它。
目前它的纯文本结帐在这里 whoislookupscript 。 com
Response from the WHOIS server (whois.tucows.com):
Domain Name: BBC.COM
Registry Domain ID: 4794897_DOMAIN_COM-VRSN
Registrar WHOIS Server: whois.tucows.com
Registrar URL: http://tucowsdomains.com
Updated Date: 2014-06-15T05:05:24Z
Creation Date: 1989-07-15T04:00:00Z
Registrar Registration Expiration Date: 2015-07-14T04:00:00Z
Registrar: TUCOWS, INC.
Registrar IANA ID: 69
Registrar Abuse Contact Email: domainabuse@tucows.com
Registrar Abuse Contact Phone: +1.4165350123
Reseller: BBC Internet Services
Reseller: hostmaster@bbc.co.uk
Reseller: +44 1737 839592
Domain Status: clientTransferProhibited
Domain Status: clientUpdateProhibited
Domain Status: serverDeleteProhibited
Domain Status: serverTransferProhibited
Registry Registrant ID:
Registrant Name: Brandon Butterworth
Registrant Organization: British Broadcasting Corporation
Registrant Street: Broadcasting House Portland Place
Registrant City: London
Registrant State/Province:
Registrant Postal Code: W1A 1AA
Registrant Country: GB
Registrant Phone: +44.3030409777
Registrant Phone Ext:
Registrant Fax:
Registrant Fax Ext:
Registrant Email: hostmaster@bbc.co.uk
Registry Admin ID:
Admin Name: Brandon Butterworth
Admin Organization: British Broadcasting Corporation
Admin Street: Broadcasting House Portland Place
Admin City: London
Admin State/Province:
Admin Postal Code: W1A 1AA
Admin Country: GB
Admin Phone: +44.3030409777
Admin Phone Ext:
Admin Fax:
Admin Fax Ext:
Admin Email: hostmaster@bbc.co.uk
Registry Tech ID:
Tech Name: Brandon Butterworth
Tech Organization: British Broadcasting Corporation
Tech Street: Broadcasting House Portland Place
Tech City: London
Tech State/Province:
Tech Postal Code: W1A 1AA
Tech Country: GB
Tech Phone: +44.3030409777
Tech Phone Ext:
Tech Fax:
Tech Fax Ext:
Tech Email: hostmaster@bbc.co.uk
Name Server: NS1.RBSOV.BBC.CO.UK
Name Server: NS1.THDOW.BBC.CO.UK
Name Server: NS1.TCAMS.BBC.CO.UK
DNSSEC: Unsigned
URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/
>>> Last update of WHOIS database: 2014-06-15T05:05:24Z <<<
Registration Service Provider:
BBC Internet Services, hostmaster@bbc.co.uk
+44 1737 839592
This company may be contacted for domain login/passwords,
DNS/Nameserver changes, and general domain support questions.
The Data in the Tucows Registrar WHOIS database is provided to you by Tucows
for information purposes only, and may be used to assist you in obtaining
information about or related to a domain name's registration record.
Tucows makes this information available "as is," and does not guarantee its
accuracy.
一旦你从 whois 记录中得到你的输出 试试
echo '<pre class="whois">';
print "<div class=\"response_display\">Response from the WHOIS server ($whois_server):<br><br>".str_replace("\n","<br /><br />",$result)."</div>";
echo '</pre>';
becoz 有时开发人员认为没有得到 \n 所以尝试上面的那个,然后你将被 break 替换,然后你可以继续这个答案