Free Pagerank script


Back to seo scripts.


*loopy    (2009-04-14)
Free Pagerank script

Hi,

I found this free pagerank script on the web, it is just great to know the pagerank for every web page but could anyone tell me how this script works ?  The guy who implemented it must be a genius, I just can't understand anything in this code.


<?

class functions {
function to_int_32 (&$x) {
$z = hexdec(80000000);
$y = (int) $x;
if($y ==- $z && $x <- $z){
$y = (int) ((-1) * $x);
$y = (-1) * $y;
}
$x = $y;

function zero_fill ($a, $b) {
$z = hexdec(80000000);
if ($z & $a) {
$a = ($a >> 1);
$a &= (~$z);
$a |= 0x40000000;
$a = ($a >> ($b - 1));
} else {
$a = ($a >> $b);
}
return $a;
}
function mix($a, $b, $c) {
$a -= $b; $a -= $c; $this->to_int_32($a); $a = (int)($a ^ ($this->zero_fill($c,13)));
$b -= $c; $b -= $a; $this->to_int_32($b); $b = (int)($b ^ ($a<<8));
$c -= $a; $c -= $b; $this->to_int_32($c); $c = (int)($c ^ ($this->zero_fill($b,13)));
$a -= $b; $a -= $c; $this->to_int_32($a); $a = (int)($a ^ ($this->zero_fill($c,12)));
$b -= $c; $b -= $a; $this->to_int_32($b); $b = (int)($b ^ ($a<<16));
$c -= $a; $c -= $b; $this->to_int_32($c); $c = (int)($c ^ ($this->zero_fill($b,5)));
$a -= $b; $a -= $c; $this->to_int_32($a); $a = (int)($a ^ ($this->zero_fill($c,3)));
$b -= $c; $b -= $a; $this->to_int_32($b); $b = (int)($b ^ ($a<<10));
$c -= $a; $c -= $b; $this->to_int_32($c); $c = (int)($c ^ ($this->zero_fill($b,15)));
return array($a,$b,$c);
}
function checksum ($url, $length = null, $init = 0xE6359A60) {
if (is_null($length)) {
$length = sizeof($url);
}
$a = $b = 0x9E3779B9;
$c = $init;
$k = 0;
$len = $length;
while($len >= 12) {
$a += ($url[$k+0] + ($url[$k+1] << 8) + ($url[$k+2] << 16) + ($url[$k+3] << 24));
$b += ($url[$k+4] + ($url[$k+5] << 8) + ($url[$k+6] << 16) + ($url[$k+7] << 24));
$c += ($url[$k+8] + ($url[$k+9] << 8) + ($url[$k+10] << 16) + ($url[$k+11] << 24));
$mix = $this->mix($a,$b,$c);
$a = $mix[0]; $b = $mix[1]; $c = $mix[2];
$k += 12;
$len -= 12;
}
$c += $length;
switch($len) {
case 11: $c += ($url[$k + 10] << 24);
case 10: $c += ($url[$k + 9] << 16);
case 9: $c += ($url[$k + 8] << 8);
case 8: $b += ($url[$k + 7] << 24);
case 7: $b += ($url[$k + 6] << 16);
case 6: $b += ($url[$k + 5] << 8);
case 5: $b += ($url[$k + 4]);
case 4: $a += ($url[$k + 3] << 24);
case 3: $a += ($url[$k + 2] << 16);
case 2: $a += ($url[$k + 1] << 8);
case 1: $a += ($url[$k + 0]);
}
$mix = $this->mix($a, $b, $c);
return $mix[2];
}
function strord($string) {
for($i = 0; $i < strlen($string); $i++) {
$result[$i] = ord($string{$i});
}
return $result;
}
//
//
//
function format_number ($number='', $divchar = ',', $divat = 3) {
$decimals = '';
$formatted = '';
if (strstr($number, '.')) {
$pieces = explode('.', $number);
$number = $pieces[0];
$decimals = '.' . $pieces[1];
} else {
$number = (string) $number;
}
if (strlen($number) <= $divat)
return $number;
$j = 0;
for ($i = strlen($number) - 1; $i >= 0; $i--) {
if ($j == $divat) {
$formatted = $divchar . $formatted;
$j = 0;
}
$formatted = $number[$i] . $formatted;
$j++;
}
return $formatted . $decimals;
}

}

class GooglePR
{
/*
* convert a string to a 32-bit integer
*/
function StrToNum($Str, $Check, $Magic)
{
$Int32Unit = 4294967296; // 2^32

$length = strlen($Str);
for ($i = 0; $i < $length; $i++)
{
$Check *= $Magic;
//If the float is beyond the boundaries of integer (usually +/- 2.15e+9 = 2^31),
// the result of converting to integer is undefined
// refer to http://www.php.net/manual/en/language.types.integer.php
if ($Check >= $Int32Unit)
{
$Check = ($Check - $Int32Unit * (int) ($Check / $Int32Unit));
//if the check less than -2^31
$Check = ($Check < -2147483648) ? ($Check + $Int32Unit) : $Check;
}
$Check += ord($Str{$i});
}
return $Check;
}

/*
* Genearate a hash for a url
*/
function HashURL($String)
{
$Check1 = $this->StrToNum($String, 0x1505, 0x21);
$Check2 = $this->StrToNum($String, 0, 0x1003F);

$Check1 >>= 2;
$Check1 = (($Check1 >> 4) & 0x3FFFFC0 ) | ($Check1 & 0x3F);
$Check1 = (($Check1 >> 4) & 0x3FFC00 ) | ($Check1 & 0x3FF);
$Check1 = (($Check1 >> 4) & 0x3C000 ) | ($Check1 & 0x3FFF);

$T1 = (((($Check1 & 0x3C0) << 4) | ($Check1 & 0x3C)) <<2 ) | ($Check2 & 0xF0F );
$T2 = (((($Check1 & 0xFFFFC000) << 4) | ($Check1 & 0x3C00)) << 0xA) | ($Check2 & 0xF0F0000 );

return ($T1 | $T2);
}

/*
* genearate a checksum for the hash string
*/
function CheckHash($Hashnum)
{
$CheckByte = 0;
$Flag = 0;

$HashStr = sprintf('%u', $Hashnum) ;
$length = strlen($HashStr);

for ($i = $length - 1; $i >= 0; $i --)
{
$Re = $HashStr{$i};
if (1 === ($Flag % 2))
{
$Re += $Re;
$Re = (int)($Re / 10) + ($Re % 10);
}
$CheckByte += $Re;
$Flag ++;
}

$CheckByte %= 10;
if (0 !== $CheckByte)
{
$CheckByte = 10 - $CheckByte;
if (1 === ($Flag % 2) )
{
if (1 === ($CheckByte % 2))
{
$CheckByte += 9;
}
$CheckByte >>= 1;
}
}

return '7'.$CheckByte.$HashStr;
}

function PageRank($url, $dcgg = 'www.google.com')
{
$file = file('ht*p://'.$dcgg.'/search?client=navclient-auto&ch='.$this->CheckHash($this->HashURL($url)).'&ie=UTF-8&oe=UTF-8&features=Rank&q=info:'.urlencode($url));

$file = implode("", $file);
return substr($file,strrpos($file, ":")+1);
}
}

?>




(more options below)

*leapter    (2009-07-14 04:36:09)
Great stuff

wonder webpage and information. thanks for the scripts. ht*p://www.leapbrowser.com LeapBrowser search engine.


*validrank    (2010-02-25 05:41:34)
14 years ago

Check Google Page Rank. Fake Page Rank Detection ht*p://www.validranking.com


*caxike    (2010-06-30 19:49:01)
14 years ago

Here is a great maybe the best pagerank script and alexa with backlink for your web applications
You can check here ht*p://pagerank.edu.ms
its free

Here is a great maybe the best pagerank script and alexa with backlink for your web applications
You can check here
pagerank.edu.ms
Pagerank tools and software to find the pagerank of your site


*zusixo    (2010-07-05 14:34:41)
Free web Directory

dmooz.co.cc

Help build the most comprehensive human reviewed directory of the web


andry    (2012-03-08 15:34:05)
12 years ago

Thanks for the scripts.
Fake Page Rank Detection ht*p://www.validranking.com

__________

Mutuelle chien


outdoorfountain    (2012-03-17 07:26:26)
Free Pagerank script

thanks for sharing...i m developer and try to find bugs in it.

__________

outdoor fountains


anguscary    (2012-08-31 11:40:16)
12 years ago

Thanks for sharing Page rank script.

__________

ht*p://www.egclimo.com


ficgs
Suggestions


ficgs
More websites

You must register to see these links, as this is a collaborative page, then you may change the order of the links by clicking the icons before the titles.



admin
Other websites

The following links might be less relevant, please change their ranks if you find them useful.


 TopSite TopList - * - Search Engine - Banner Creator
topsiteguide
  1. The best directory Submission Templates: Web sites fitting in the
  2. We offer the powerful possibility to put Google Pagerank on a
 Page Rank Code: free PHP script for Google PageRank
pagerankcode

  * , Google Page Rank Script, Download Buy Google * , *
singerdesign > google page rank script.php

Singer Design have now released their popular Google PageRank...
Once payment has been received from our secure Paypal order form...

 SEO Service. PageRank Button and Free Hit Counter. Google, MSN Search, Yahoo Optimization.
seomon

Jokes - the best jokes, humor, fun stories, pictures and free...
La plus grande communauté de vidéos et de musiques -...

 Free pagerank Download - * Software
script.wareseeker

var pageOptions = { 'pubId' : 'pub-8098918000470057', 'channel' :...
PageRank Calculator calculate you page rank by entering data about...

 Free Google * - By Antonie Potgieter
my.opera > Contrid/blog/2007/02/09

If you have any comments, suggestions or appraisals, please feel...
I have already installed the postfix, and lamp, but i can't send...

 Free Google Pagerank Checker. Checks Alexa, Backlinks and more
ipagerank

This site is not in anyway affiliated with or endorsed by Googleâ„¢,...

  * free 4 all | PHP Link Checking | Hot Scripts
hotscripts > listing/pagerank script

  * for you :) - AZ Forums
azforums > index.php?showtopic=25685

All artwork posted on the AZ is property of their respective...

 » Free Page rank script
findmysoft > scripts/page rank script

 File Download Free PageRank Display Script - Torrent Reactor NET
torrentreactor > torrents/1913104

PCSHOW BUZZ - Watch 1000+ TV Channels on Your PC FREE!! on...

 SEO Tools - Google PageRank Checker - Remote Script
twospots

Google PageRank Checker on your website - Free remote script...
Add automatic Google PageRank Checker of your home page to your...

 PageRank Tool - free script download | Arbune's WebLog
blog.arbune > 2009/02/pagerank tool

 We have just enhanced the ROR Sitemap Generator so that it can generate ROR Sitemaps MyPagerank.Net Google PageRank Checker - Check Google page rank
mypagerank

 Affichage * gratuit - Jumptags.com search results
jumptags > tag/Affichage%20PageRank%20Script%20gratuit

 PageRank Checker Script Free Download
howtodownloadfiles > pagerank checker script

Warcraft 3 Frozen Throne Version 1 24 4 6387 Free...
Hayate No Gotoku ! - Episode 32 - Devil Hunter Welcome Yoko Isumi,...

 webdew - Remotely hosted - pagerank, counter, bookmark, favicon and logo scripts
webdew > utils.php

 Google PageRank Checker - Check Google page rank of any web pages; FREE Page Rank Checker, Internet Marketing, Search Engine Marketing
majon

- Are you in the clothing business? If so this FREE auction will...
- A quick easy to use search engine that will give you some fresh...
- Convenient online shopping portal that offers special online...

 Free PageRank Checker - Check Google PageRank of any website
prsitecheck

 Page Rank Script
e seotools > pagerank.script.php

 Free page rank checker script Download - page rank checker script Software
wareseeker

var pageOptions = { 'pubId' : 'pub-8098918000470057', 'channel' :...
Best Web Hosting Review - a helpful software that is created to help...
7) { alert('can not compare more than 8...

 Zones Web Solution - Check Page Rank, * , Google Page Rank
pagerank.zones

Check Google's PageRank of your domain and you can also put the...
IN domain is free with all web hosting plans available on our...
To match the design of your site, you may alter the variables in...

 Free Web 2.0 * + Alexa And Backlink « Full and Free - Everything you need
fullandfree > scripts

 Adsense, Wordpress, Free Script & Free Software
malangweb

Head First WordPress: A Brain-Friendly Guide to Creating Your Own...

 Show your Google PageRank - A free PageRank button for you website
free pagerank checker > pagerank button code.php

 Google Page Rank Check | PageRank Display Script
page rank check

 Whosurf.com | Free PageRank Check Script
whosurf

 Installed A PR Checker Script - But Not Working Correctly - Free Web Hosting
astahost > Installed PR Checker Script Working Correctly t13957

1 User(s) are reading this topic (1 Guests and 0 Anonymous...
I just learning, but it was my understanding if you are going to...

 Download Free Page Rank Service Php Source Codes, Free Page Rank Service Php Scripts - Google/Alexa Page Rank Checking Script by MyDLstore, Google pag...
sourcecodeonline > list

Netbizcity Free Submission Service is a multi-platform compatible...
A CMS with threaded comments, user/rank management, file manager,...
FreeVF php MySQL (Free Vanity Fair Image Rating script) includes Hot...

 Free Page Rank Checker tool for Webmasters
srv.jbi

 SEO • Information
top25web > bbs/viewtopic.php?f=28&t=6023

 Check * details - Free Webmaster Resources - Add a Link
webmaster resources.com > link details 463.php

 Add this Free Tool Script to Check the Google Page Rank to your Webpage
csshtmltutorial > csshtmltutorial



Response  
 

Guest name   (option)     Register
Please sum : 6215 + three  




Trackbacks : If you talked about this article in your blog or website, you may instantly get a backlink 
There's no trackback at the moment.