• Bu site çerezler kullanır. Bu siteyi kullanmaya devam ederek çerez kullanımımızı kabul etmiş olursunuz. Daha fazla bilgi edin.

Php Site Analizi Bir Bakarmısınız ?

Konuyu Okuyan Kişiler (0)

3gzotik

webmaster.tc
Katılım
9 Ağu 2012
Mesajlar
49
Beğeniler
0
Konum
Ankara
#1
Kod:
<?php
$GET2=trim(strip_tags($_POST['web']));
if($GET2){
$GET3=trim(strip_tags($_POST['web']));
}
?>

<html>
<head>
<META http-equiv=content-type content=text/html;charset=windows-1254/>
<title>Anasayfa</title>


</head>
<body>
<center><form action="#" method="post">
  <table width="597" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="96" align="left"> </td>
      <td width="402" align="left"> </td>
      <td width="99" align="left"> </td>
    </tr>
   <tr>
      <td align="left" class="text-www">http://www. </td>
      <td align="left"><input name="web" type="text" class="text-body" value="<?php echo $GET3; ?>"></td>
      <td align="left"><input type="image" src="image/buton-ara.png" title="Sorgula"></td>
	  <h2>Analizini Yapacağın Web Sitesini Yazınız (örn:anatolianhosting.com)</h2>
    </tr></center>
    <tr>
      <td align="left"> </td>
      <td align="left"> </td>
      <td align="left"> </td>
    </tr>
  </table>

  </a>
</form></center>

<?php
$GET=trim(strip_tags($_POST['web']));
$GET2=trim(strip_tags($_POST['web']));

if($GET){
//Alexa Global Rank Sorgulama
	$hedef_site=$GET;
	$site=file_get_contents("http://www.alexa.com/siteinfo/$hedef_site");
	$rank=explode("<tbody>",$site);
	$rank=explode("</div>",$rank[1]);
	$alexa_get=$rank[0];


	//Web Adres Title Request
	$title=file_get_contents("http://www.$hedef_site");
	$title_get=explode("<title>",$title);
	$title_get=explode("</title>",$title_get[1]);
	$title_print=$title_get[0];


//html Clean
$alexa_global_rank=trim(strip_tags($alexa_get));


//Dmoz Sorgulama
	$dmoz=file_get_contents("http://www.dmoz.org/search?q=$hedef_site");
	$dmoz_durum=explode("<h3>",$dmoz);
	$dmoz_durum=explode("</h3>",$dmoz_durum[1]);
	$dmoz_get=$dmoz_durum[0];
	if($dmoz_get){
	$dmoz_kayit_durum="<font color='green' style='font-family:tahoma;font-size:13px;'><b>EVET</b></font>";
	}else{
	$dmoz_kayit_durum="<font color='red' style='font-family:tahoma;font-size:13px;'><b>HAYIR</b></font>";
	}
	
//Alexa Backlink Sorgulama
	$link_count=explode('<td class="clear-border">',$site);
	$link_count=explode('</div>',$link_count[1]);
	$link_Sayisi="<font color='#000000'><strong>".trim(strip_tags($link_count[0]))."</strong></font>";

//Alexa Ülke Siralamasi
	$tr_sira=explode('<div class="data">',$site);
	$tr_sira=explode('</div>',$tr_sira[1]);
	$turkey_tr="<font color='#999999'><strong>".trim(strip_tags($tr_sira[0]))."</strong></font>";
	
//Alexa Yildizi
	$stars=explode('<td class="end">',$site);
	$stars=explode('</span>',$stars[1]);
	$alexa_stars="<font color='#999999'><strong>".trim(strip_tags($stars[0]))."</strong></font>";


	

}
?>


<?php
if($GET){
//Uzanty Sorgulama
if(
strpos($GET,'.com',4) or
strpos($GET,'.net',4) or
strpos($GET,'.org',4) or
strpos($GET,'.biz',4) or
strpos($GET,'.com.tr',7) or
strpos($GET,'.info',5) or
strpos($GET,'.k12.tr',7) or
strpos($GET,'.co.uk',6) or
strpos($GET,'.mil.tr',7) or
strpos($GET,'.tk',3) or
strpos($GET,'.web.tr',7) or
strpos($GET,'.li',3)
){

$tarihh=date("d/m/Y");

echo'
<center><table width="603" border="1" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="5" align="left" bgcolor="#333333" class="alexa-title">Alexa Durumu</td>
  </tr>
  <tr>
    <td width="55" align="center"><img src="image/alexa-rank.jpg" width="25" height="25"></td>
    <td width="176" class="alexa-font">Dünya Geneli </td>
    <td width="17" class="alexa-font">:</td>
    <td width="279" class="alexa-font"><strong>'.$alexa_global_rank.'</strong></td>
    <td width="64" align="center"><img src="image/tick.jpg" width="25" height="25"></td>
  </tr>
  <tr>
    <td align="center"><img src="image/alexa.jpg" width="25" height="25"></td>
    <td class="alexa-font">Ülke Geneli </td>
    <td class="alexa-font">:</td>
    <td class="alexa-font">'.$turkey_tr.'</td>
    <td align="center"><img src="image/tick.jpg" width="25" height="25"></td>
  </tr>
  <tr>
    <td align="center"><img src="image/alexa-link.jpg" width="44" height="31"></td>
    <td class="alexa-font">Backlink</td>
    <td class="alexa-font">:</td>
    <td class="alexa-font"><p>'.$link_Sayisi.' Link Kayitli</p>
    </td>
    <td align="center"><img src="image/tick.jpg" width="25" height="25"></td>
  </tr>
  <tr>
    <td align="center"><img src="image/alexa-star.jpg" width="44" height="31"></td>
    <td class="alexa-font">Alexa Stars </td>
    <td class="alexa-font">:</td>
    <td class="alexa-font">'.$alexa_stars.'</td>
    <td align="center"><img src="image/tick.jpg" width="25" height="25"></td>
  </tr>
  <tr>
    <td colspan="5" align="left" bgcolor="#333333" class="alexa-title">Dmoz Durumu & Web Site Bilgileri</td>
  </tr>
  <tr>
    <td align="center"><img src="image/dmoz.jpg" width="25" height="25"></td>
    <td class="alexa-font">Dmoz Kayit Durumu </td>
    <td class="alexa-font">:</td>
    <td class="alexa-font">'.$dmoz_kayit_durum.'</td>
    <td align="center"><img src="image/tick.jpg" width="25" height="25"></td>
  </tr>
  <tr>
    <td align="center"><img src="image/google.jpg" width="25" height="24"></td>
    <td class="alexa-font">Adres</td>
    <td class="alexa-font">:</td>
    <td class="alexa-font"><a href="http://www.'.$GET.'" target="blank" rel="nofollow" title="'.$title_print.'" style="color:#333333">http://www.'.$GET.'</a></td>
    <td align="center"><img src="image/tick.jpg" width="25" height="25"></td>
  </tr>
  <tr>
    <td align="center"><img src="image/sql-kayit.jpg" width="25" height="25"></td>
    <td class="alexa-font">Sisteme Kayıt Durumu </td>
    <td class="alexa-font">:</td>
    <td align="left" class="alexa-font style2"> Kaydedildi</td>
    <td align="center"><img src="image/tick.jpg" width="25" height="25"></td>
  </tr>
      <tr>
    <td align="center"><img src="image/web-title.jpg" width="48" height="33"></td>
    <td class="alexa-font">Title</td>
    <td class="alexa-font">:</td>
    <td class="alexa-font">'.$title_print.'</td>
    <td align="center"><img src="image/tick.jpg" width="25" height="25"></td>
  </tr>
    <tr>
  <tr>
    <td colspan="5" align="left" bgcolor="#333333" class="alexa-title">Google PageRank, Yahoo Backlink ve Son Güncelleme </td>
  </tr>
  <tr>
    <td align="center"><img src="image/google.jpg" width="25" height="24"></td>
    <td class="alexa-font">Google PageRank</td>
    <td class="alexa-font">:</td>
    <td align="left" class="alexa-font"> </td>
    <td align="center"><img src="image/tick.jpg" width="25" height="25"></td>
  </tr>
  <tr>
    <td align="center"><img src="image/son-update.jpg" width="25" height="25"></td>
    <td class="alexa-font">Son Güncellenme Tarihi </td>
    <td class="alexa-font">:</td>
    <td align="left" class="alexa-font">'.$tarihh.'</td>
    <td align="center"><img src="image/tick.jpg" width="25" height="25"></td>
  </tr>
  <tr>
    <td align="center"><img src="image/yahoo.jpg" width="30" height="30"></td>
    <td class="alexa-font">Yahoo Backlink </td>
    <td class="alexa-font">:</td>
    <td align="left" class="alexa-font">N/A</td>
    <td align="center"><img src="image/tick.jpg" width="25" height="25"></td>
  </tr>
  <tr>
   
  </tr>
    <td colspan="5" align="center"> </td>
  </tr>
  <tr>
             <a href="http://www.anatolianhosting.com"><img src="image\anatolianhosting.png"></a> - <a rel="dofollow" title="php script indir,asp script indir,script indir" href="http://scriptciyim.blogspot.com" target="_blank">script indir</a>
  </tr>
</table></center>
';
	}
}
?>
Ben bu kodlarla analiz yapabiliyorum fakat kodda eksik olan pagerank birde ben burda yapmak istediğim input la gelen site adresi değilde benim kendi belirlediğim site adresini otomatik göstersin değerlerini nasıl yapabilirim ?
 

inforesim

webmaster.tc
Katılım
4 Ağu 2012
Mesajlar
2,439
Beğeniler
0
#2
Kod:
<?php
$GET2=trim(strip_tags($_POST['web']));
if($GET2){
$GET3=trim(strip_tags($_POST['web']));
}
?>

<html>
<head>
<META http-equiv=content-type content=text/html;charset=windows-1254/>
<title>Anasayfa</title>


</head>
<body>
<center><form action="#" method="post">
  <table width="597" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="96" align="left"> </td>
      <td width="402" align="left"> </td>
      <td width="99" align="left"> </td>
    </tr>
   <tr>
      <td align="left" class="text-www">http://www. </td>
      <td align="left"><input name="web" type="text" class="text-body" value="<?php echo $GET3; ?>"></td>
      <td align="left"><input type="image" src="image/buton-ara.png" title="Sorgula"></td>
	  <h2>Analizini Yapacağın Web Sitesini Yazınız (örn:anatolianhosting.com)</h2>
    </tr></center>
    <tr>
      <td align="left"> </td>
      <td align="left"> </td>
      <td align="left"> </td>
    </tr>
  </table>

  </a>
</form></center>

<?php
$GET=trim(strip_tags($_POST['web']));
$GET2=trim(strip_tags($_POST['web']));

if($GET){
//Alexa Global Rank Sorgulama
	$hedef_site=$GET;
	$site=file_get_contents("http://www.alexa.com/siteinfo/$hedef_site");
	$rank=explode("<tbody>",$site);
	$rank=explode("</div>",$rank[1]);
	$alexa_get=$rank[0];


	//Web Adres Title Request
	$title=file_get_contents("http://www.$hedef_site");
	$title_get=explode("<title>",$title);
	$title_get=explode("</title>",$title_get[1]);
	$title_print=$title_get[0];


//html Clean
$alexa_global_rank=trim(strip_tags($alexa_get));


//Dmoz Sorgulama
	$dmoz=file_get_contents("http://www.dmoz.org/search?q=$hedef_site");
	$dmoz_durum=explode("<h3>",$dmoz);
	$dmoz_durum=explode("</h3>",$dmoz_durum[1]);
	$dmoz_get=$dmoz_durum[0];
	if($dmoz_get){
	$dmoz_kayit_durum="<font color='green' style='font-family:tahoma;font-size:13px;'><b>EVET</b></font>";
	}else{
	$dmoz_kayit_durum="<font color='red' style='font-family:tahoma;font-size:13px;'><b>HAYIR</b></font>";
	}
	
//Alexa Backlink Sorgulama
	$link_count=explode('<td class="clear-border">',$site);
	$link_count=explode('</div>',$link_count[1]);
	$link_Sayisi="<font color='#000000'><strong>".trim(strip_tags($link_count[0]))."</strong></font>";

//Alexa Ülke Siralamasi
	$tr_sira=explode('<div class="data">',$site);
	$tr_sira=explode('</div>',$tr_sira[1]);
	$turkey_tr="<font color='#999999'><strong>".trim(strip_tags($tr_sira[0]))."</strong></font>";
	
//Alexa Yildizi
	$stars=explode('<td class="end">',$site);
	$stars=explode('</span>',$stars[1]);
	$alexa_stars="<font color='#999999'><strong>".trim(strip_tags($stars[0]))."</strong></font>";


	

}
?>


<?php
if($GET){
//Uzanty Sorgulama
if(
strpos($GET,'.com',4) or
strpos($GET,'.net',4) or
strpos($GET,'.org',4) or
strpos($GET,'.biz',4) or
strpos($GET,'.com.tr',7) or
strpos($GET,'.info',5) or
strpos($GET,'.k12.tr',7) or
strpos($GET,'.co.uk',6) or
strpos($GET,'.mil.tr',7) or
strpos($GET,'.tk',3) or
strpos($GET,'.web.tr',7) or
strpos($GET,'.li',3)
){

$tarihh=date("d/m/Y");

echo'
<center><table width="603" border="1" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="5" align="left" bgcolor="#333333" class="alexa-title">Alexa Durumu</td>
  </tr>
  <tr>
    <td width="55" align="center"><img src="image/alexa-rank.jpg" width="25" height="25"></td>
    <td width="176" class="alexa-font">Dünya Geneli </td>
    <td width="17" class="alexa-font">:</td>
    <td width="279" class="alexa-font"><strong>'.$alexa_global_rank.'</strong></td>
    <td width="64" align="center"><img src="image/tick.jpg" width="25" height="25"></td>
  </tr>
  <tr>
    <td align="center"><img src="image/alexa.jpg" width="25" height="25"></td>
    <td class="alexa-font">Ülke Geneli </td>
    <td class="alexa-font">:</td>
    <td class="alexa-font">'.$turkey_tr.'</td>
    <td align="center"><img src="image/tick.jpg" width="25" height="25"></td>
  </tr>
  <tr>
    <td align="center"><img src="image/alexa-link.jpg" width="44" height="31"></td>
    <td class="alexa-font">Backlink</td>
    <td class="alexa-font">:</td>
    <td class="alexa-font"><p>'.$link_Sayisi.' Link Kayitli</p>
    </td>
    <td align="center"><img src="image/tick.jpg" width="25" height="25"></td>
  </tr>
  <tr>
    <td align="center"><img src="image/alexa-star.jpg" width="44" height="31"></td>
    <td class="alexa-font">Alexa Stars </td>
    <td class="alexa-font">:</td>
    <td class="alexa-font">'.$alexa_stars.'</td>
    <td align="center"><img src="image/tick.jpg" width="25" height="25"></td>
  </tr>
  <tr>
    <td colspan="5" align="left" bgcolor="#333333" class="alexa-title">Dmoz Durumu & Web Site Bilgileri</td>
  </tr>
  <tr>
    <td align="center"><img src="image/dmoz.jpg" width="25" height="25"></td>
    <td class="alexa-font">Dmoz Kayit Durumu </td>
    <td class="alexa-font">:</td>
    <td class="alexa-font">'.$dmoz_kayit_durum.'</td>
    <td align="center"><img src="image/tick.jpg" width="25" height="25"></td>
  </tr>
  <tr>
    <td align="center"><img src="image/google.jpg" width="25" height="24"></td>
    <td class="alexa-font">Adres</td>
    <td class="alexa-font">:</td>
    <td class="alexa-font"><a href="http://www.'.$GET.'" target="blank" rel="nofollow" title="'.$title_print.'" style="color:#333333">http://www.'.$GET.'</a></td>
    <td align="center"><img src="image/tick.jpg" width="25" height="25"></td>
  </tr>
  <tr>
    <td align="center"><img src="image/sql-kayit.jpg" width="25" height="25"></td>
    <td class="alexa-font">Sisteme Kayıt Durumu </td>
    <td class="alexa-font">:</td>
    <td align="left" class="alexa-font style2"> Kaydedildi</td>
    <td align="center"><img src="image/tick.jpg" width="25" height="25"></td>
  </tr>
      <tr>
    <td align="center"><img src="image/web-title.jpg" width="48" height="33"></td>
    <td class="alexa-font">Title</td>
    <td class="alexa-font">:</td>
    <td class="alexa-font">'.$title_print.'</td>
    <td align="center"><img src="image/tick.jpg" width="25" height="25"></td>
  </tr>
    <tr>
  <tr>
    <td colspan="5" align="left" bgcolor="#333333" class="alexa-title">Google PageRank, Yahoo Backlink ve Son Güncelleme </td>
  </tr>
  <tr>
    <td align="center"><img src="image/google.jpg" width="25" height="24"></td>
    <td class="alexa-font">Google PageRank</td>
    <td class="alexa-font">:</td>
    <td align="left" class="alexa-font"> </td>
    <td align="center"><img src="image/tick.jpg" width="25" height="25"></td>
  </tr>
  <tr>
    <td align="center"><img src="image/son-update.jpg" width="25" height="25"></td>
    <td class="alexa-font">Son Güncellenme Tarihi </td>
    <td class="alexa-font">:</td>
    <td align="left" class="alexa-font">'.$tarihh.'</td>
    <td align="center"><img src="image/tick.jpg" width="25" height="25"></td>
  </tr>
  <tr>
    <td align="center"><img src="image/yahoo.jpg" width="30" height="30"></td>
    <td class="alexa-font">Yahoo Backlink </td>
    <td class="alexa-font">:</td>
    <td align="left" class="alexa-font">N/A</td>
    <td align="center"><img src="image/tick.jpg" width="25" height="25"></td>
  </tr>
  <tr>
   
  </tr>
    <td colspan="5" align="center"> </td>
  </tr>
  <tr>
             <a href="http://www.anatolianhosting.com"><img src="image\anatolianhosting.png"></a> - <a rel="dofollow" title="php script indir,asp script indir,script indir" href="http://scriptciyim.blogspot.com" target="_blank">script indir</a>
  </tr>
</table></center>
';
	}
}
?>
Ben bu kodlarla analiz yapabiliyorum fakat kodda eksik olan pagerank birde ben burda yapmak istediğim input la gelen site adresi değilde benim kendi belirlediğim site adresini otomatik göstersin değerlerini nasıl yapabilirim ?
$_POST['web'] yerine "siteadresi" şeklinde yaz. Pagerank için şuan piyasada zor kod bulursun ve Bulsan bile 10-15 site sorgusundan sonra ip ban yiyorsun.
 

3gzotik

webmaster.tc
Katılım
9 Ağu 2012
Mesajlar
49
Beğeniler
0
Konum
Ankara
#3
$_POST['web'] yerine "siteadresi" şeklinde yaz. Pagerank için şuan piyasada zor kod bulursun ve Bulsan bile 10-15 site sorgusundan sonra ip ban yiyorsun.
Siz daha doğrusunu bilirsiniz fakat wmaraci olsun bir çok site nasıl pagerank sorgulayabiliyor hocam birde ben aylık sorgu şeklinde çekicem yani istatistikleri 1 kere alıcam 1 ay sonra yeniletcem sürekli sorgulama yapmıcam ?
 

inforesim

webmaster.tc
Katılım
4 Ağu 2012
Mesajlar
2,439
Beğeniler
0
#4
Siz daha doğrusunu bilirsiniz fakat wmaraci olsun bir çok site nasıl pagerank sorgulayabiliyor hocam birde ben aylık sorgu şeklinde çekicem yani istatistikleri 1 kere alıcam 1 ay sonra yeniletcem sürekli sorgulama yapmıcam ?
Farkeden bir şey yok bir süre sonra anında ban yiyorsun. Onların ellerinde fazla ip var. ip lere yayıyorlar sorguları.