(.*?)#s';
$neww = $_POST['host'];
if(! $_POST['host']==""){
$neww = split("\r\n", $neww);
echo "==================================================================
";
for ($i=0;$iSite: $neww[$i]
";
echo "==================================================================
";
}
if(! $_POST['host']==""){
$hosts=explode("\n",$_POST["host"]);
foreach($hosts as $hostlar){
$hosts=trim($hostlar);
$hosts = str_replace("http://", "", $hosts);
$curl = curl_init();
curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($curl, CURLOPT_URL, 'http://'.$ping.$hosts);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
$exec = curl_exec($curl);
preg_match_all($title,$exec,$yaz);
foreach($yaz[0] as $result){
echo "Ip:$result
";
curl_close($curl);
ob_flush();
flush();
}
}
}
// 2012
?>