方便域名党,来注册不同长度的域名
$i = array(‘a’,’b’,’c’,’d’,’e’,’f’,’g’,’h’,’i’,’j’,’k’,’l’,’m’,’n’,’o’,’p’,’q’,’r’,’s’,’t’,’w’,’v’,’y’,’x’,’z’,’u’);
$j = array(1,2,3,4,5,6,7,8,9,0);
$type = array(“com”,”net”,”cn”);
$name =”;
$domain = array_rand($i,4);
foreach ($domain as $k => $va) {
$name .= $i[$va];
}
foreach ($type as $key => $value) {
$info = file_get_contents(“http://panda.www.net.cn/cgi-bin/check.cgi?area_domain=”.$name.”.”.$value);
if(strpos($info,’210′)!==false){
echo $name.”.”.$value;
}
}