Responsive adlı üyeden alıntı: mesajı görüntüle
bot.php'yi şöyle düzenleyin;

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> 
<head> 
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> 
    <title>Haber Botu - Sonuç</title> 
    <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"> 
</head> 
<body> 
<?php 
//* www.fatihtaskin.com.tr *// 
  $referer = $_SERVER['HTTP_REFERER']; 
  if ($referer == "")   
{   
echo "Lütfen link alanını boş bırakmayın.";   
}  
else   
{ 
//* HABER BOTU *// 
$formdangelen = $_POST["url"]; 
$botadresi = "http://*************"; // Haber çekilecek adres

if(strpos($formdangelen,$botadresi)) {  
  $site        = file_get_contents(''.$formdangelen.''); 
// BAŞLIK 
preg_match_all('@<h1 itemprop="headline" id="haber_baslik" class=" ">(.*?)</h1>@si',$site,$baslik_al); 

// ÖZET 
preg_match_all('@<h2 itemprop="description" class="ustblkgenislet2 spot ">(.*?)</h2>@si',$site,$ozet_al); 

// RESİM 
preg_match_all('@<meta itemprop="image" content="(.*?)" />@si',$site,$resim_al); 

// İÇERİK 
preg_match_all('@<div itemprop="articleBody" class="haber_metni mb20">(.*?)</div>@si',$site,$icerik_al); 

$baslik        = $baslik_al[1][0]; 
$ozet        = $ozet_al[1][0]; 
$resim        = $resim_al[1][0]; 
$icerik        = $icerik_al[1][0];    

echo '<div align="center"> 
<table border="1" width="800" cellspacing="0" cellpadding="0" bordercolor="#bbbbbb"> 
<tr> 
<td>'.$baslik.'</td> 
</tr> 
<tr> 
<td>'.$ozet.'</td> 
</tr> 
<tr> 
<td><center><img border="0" src="'.$resim.'" width="640" height="360"></center></td> 
</tr> 
<tr> 
<td>'.$icerik.'<br><a href="index.php"> 
<button type="submit" class="btn">Geri Dön</button></a></td> 
</tr> 
</table> 
</div>';  
}    
else {
	echo 'Geçersiz adres!';
} 

}   
//echo "<pre>"; 
//print_r($icerik_al); 
//echo "</pre>"; 

?> 
</body> 
</html>
$botadresi değişkenine kontrol edilecek adres gelecek.
Hocam bu şekilde ne girersem gireyim "Geçersiz Adres" Yazıyor.