View Single Post
  #1 (permalink)  
Old 10-13-2007, 05:12 PM
Spiral's Avatar
Spiral Spiral is online now
CO-Admin
 
Join Date: Sep 2004
Location: Martil
Age: 26
Posts: 16,764
Reputation: 30259
Spiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super Member
Default Google link popularity checker

Are you looking for snipet or script how those link popularity site checker do that? Here is a snipet from my script which I use to check link popularity…

This snipet is the link popularity checker it self but you can make this script more powerful.

After uploading this script in your php enabled server, you can then check link popularity by typing
Code:
www.yoursite.com/linkpo.php
Code:
<?php
$url = trim($_GET[urls]); //if from form replace $_GET with $_POST

echo “<tr><th colspan = 3 align=center><font color=white><b>Google </b></font></th> </tr>
<tr>
<th>
<font size = 2 face=verdana color=white>URL</font> </th>
<th>
<font size = 2 face=verdana color = white>Links</font> </th>
<th>
<font size = 2 face=verdana color=white>View</font> </th>
</tr>”;

if ($url != “”){

$domain=$url

$path=”http://www.google.com/search?hl=en&lr=&ie=UTF-8&q=link%3A”.$domain;
$data = strtolower(strip_tags(implode(”", file($path))));
$data = substr($data, strpos($data, “of about”)+9, strlen($data));
$data = substr($data, 0, strpos($data, ” “));

if(eregi(”[[:alpha:]]”, $data)) {
$data = 0;
}

echo ” <tr>
<td> <font size = 2 face=verdana color=white> $domain </td>
<td> <font size = 2 face=verdana color=white> $data </td>
<td> <a href =’$path’>View</a></td> </tr>”; 

}

?>
Reply With Quote
Sponsored Links