威望0
积分7976
贡献0
在线时间763 小时
UID1
注册时间2021-4-14
最后登录2024-11-24
管理员
- UID
- 1
- 威望
- 0
- 积分
- 7976
- 贡献
- 0
- 注册时间
- 2021-4-14
- 最后登录
- 2024-11-24
- 在线时间
- 763 小时
|
[mw_shl_code=php,true]<?php
//// Description:
//********************************************************************************/
// The purpose for this code is to find the domain age.
// Please enter the key and domain before you run the code , /
// For information, please visit https://www.ip2whois.com /
//********************************************************************************/
$apiKey = 'Enter_License_Key';
$domain = 'Enter_Domain_Name';
$url = "https://api.ip2whois.com/v2?key=$apiKey&domain=$domain";
$data = json_decode(file_get_contents($url),true);
echo "<br>Domain: ",$data['domain'], "<br>";
echo "Domain Age: ",$data['domain_age'] ," days<br><br>";
?>[/mw_shl_code] |
|