Script gratuit de Pagerank


Back to référencement.


*loopy    (2009-04-14)
Script gratuit de Pagerank

Bonjour,

Je viens de récupérer un script gratuit de Pagerank en PHP qui permet de connaitre le Google Pagerank de n'importe quelle page web comme l'indique la barre verte dans la barre d'outils de Google, ça marche nickel mais impossible de comprendre comment ça marche..... Est-ce que quelqu'un serait capable de décrypter ce script pour me dire ce que ça fait exactement ??

Merci d'avance.

<?

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)

bg62    (2010-11-23 18:38:05)

bg62

Script gratuit de Pagerank

il ne peut pas fonctionner sur la grande majorité des serveurs qui mettent des protections au niveau des requettes sur google pour ne pas être blacklistés !
Il faut donc le contourner comme ici :
ht*p://www.unesourisetmoi.info/liensdur/index.php
ou encore :
ht*p://www.unesourisetmoi.info/pages/multiple_PR_datas_centers.php
dont je suis l'auteur
:-)
si problèmes ... me contacter directement via le site

ht*p://www.unesourisetmoi.info
ht*p://blog.unesourisetmoi.info


*ombladon    (2011-05-16 00:56:00)
12 years ago

Sur le sujet de Script gratuit de Pagerank, j'ai une proposition ici: ht*p://eziscript.com/2009/11/free-google-page-ranks-script/ - un free script qui s'appele Google Pagerank Checker Script.
"PageRank is measured on a scale of 1 to 10 and is primarily determined by the PageRank of links pointing to a given page. An exhaustive but technical explanation can be found here. PageRank is but one of several factors Google uses to place a web page in the search engine results pages."


[url=ht*p://www.dream-hair.ro]extensii par[/URL] si optimizare seo


See also


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.


 Script référencement gratuit : Echange de liens automatique, aide au referencement
paidpr
  1. Si vous avez des bugs à nous signaler, ou des suggestions à
 SERVICE-WEBMASTER.FR : Outils Webmasters Gratuit Scripts PHP Ajax
service webmaster

Que vous soyez simplement un particulier ou un professionnel, nous...
pourront vous répondre afin de vous apporter une...

 Page Rank verificare in diferite servere Google / Script de afisare PageRank in siteul dumneavoastra
verificapagerank

? Vinzi ceva pe internet? Inscrie-ti gratuit...

 Outils & scripts gratuits | Conception de sites Internet
annuaire.indexweb > internet/conception sites internet/outils

Compteur de visite vous offre un service gratuit de comptage de vos...
Compteur et statistique de visites gratuit avec...

 PR Gratuit | PageRank Checker | Votre siteweb sur Google | Siteweb Popularité | Petite Annonce
prgratuit

 L'adresse IP de vos visiteurs
actulab > l ip de vos visiteurs.php

 PAGE-RANK WEB DIRECTORY - Anunturi Gratuite Matrimoniale Adult, Poze, Femei, Dragoste
link back > page rank/web directory Other+Professional+Services Escort+Services

 Référencement dans les moteurs de recherche, Google, Yahoo, Live : Conseils, actualités, annuaire
arfooo

Suite aux retours d'utilisateurs que nous remercions, 2 bugs ont...
Après de longs mois de développement, 14 RC afin de sortir une...

 Créations numériques unesourisetmoi,partenaires,échange de liens en dur,soumission automatique,Page Rank,Outils en ligne,Page1
unesourisetmoi > liensdur

URL de la page, sur votre site, où est affiché le lien vers...
: créations numériques, photos et fonds d'écran grand format...

 Web Média Services » Page non trouvée
web media service > outils,scrpts,webmaster,site,internet.php

 Open Directory - World: Français: Informatique: Programmation: Langages: PHP: Scripts
dmoz > World/Fran%C3%A7ais/Informatique/Programmation/Langages/PHP

 Textes - annonces Publicitaires et échange de lien en DUR par www.Publicite-Texte.com
publicite texte

Internetdvd vous propose une sélection de DVD, de séries TV, de...
: Portail d'informations détaillées sur les BookMakers et sur le...

 Script Resources // Site Search Pro 2.0
site search pro > links

Freelance Scripts Domain Auction Software Auction Script...
Computer software business web design tools asp scripts...
Photo Gallery Software Lightbox php scripts digital...

 Index Web Romania - directorul gratuit al internetului romanesc 100 % SEO. Director web - Servicii > Intermedieri
romaniaindex > Servicii/Intermedieri

 Director Web Gratuit Optimizat
webby

 : - Compare Le Net
compare le net > index.php?comparer=annuaire/affiche&id site=17344

 Scripts de Php Sources Jok Concept Annuaire Référencement Gratuit
jokconcept

Le lobbie des agences de webmasters/webmarketing qui n'ont pas froid...
Plagiat copies de contenus ! Vérifier si un site ne copie pas vos...
A propos des soumissions manuel et Gratuites de...

 Script in PHP pentru aflare PR
forum.seopedia > seo soft/9501

Article Submitter - submit your article to article...
E posibil ca IP-ul de pe care faci requestul sa fie banat, caz in...
Dupa ce am vazut ca nu merge am descarcat cateva, cel mai bun mi...

 buzzmed / Search results for referencement gratuit
gypsydoctor > search.php?search=referencement+gratuit

 Script d'annuaire gratuit - Details -
referencement.natharcade > detail/link 439

Arfooo Annuaire est un script PHP 5, MySQL d'annuaire gratuit et open...
Camion, Mobilhome, Camionnette, Transporteur, Caravane,...

 Script Republic « Informatii site -director web gratuit
addsite > Pentru Webmasteri/General

HostArea - director cu oferte de gazduire web (webhosting) in...
magazine virtuale, web design,pagini web,publicitate online,promovare...
Abyse Hosting - Gazduire Web la cele mai mici preturi, Inregistrare...

 Installation script php echange de liens [Résolu]
commentcamarche > forum/affich 3410338 installation

attention à ceux qui veulent partager ya de mauvaise personne qui...
Bonjour , j'ai telecharger un script php de forum pour mon site et je...
Par correction tu devrais neutraliser tes liens ! Ce forum, et bien...

 F-Script - Mac-Gratuit
mac gratuit > telecharger/F

Minou chat, the free live chat for iPhone and iPod...
Mac Gratuit est un site gratuit mais si vous le trouvez utile,...
Les logiciels référencés sur Mac Gratuit sont la propriété de...

 Faite connaître et afficher le PageRank de votre site. GRATUIT
visual pagerank > rules.php

Votre adresse e-mail pour confirmer votre inscription...
Nous n'acceptons pas les sites dénigrant, diffamatoires, portant...
Vous devez utiliser une adresse email valide afin d'activer votre...

 Vendre un site internet sur Id-Societe.com
id societe

Le Html Validator pour Firefox est un petit outil aux grandes pos...
Le Cute PDF est indiscutablement l'outil le plus simple et le plu...

 Free Datting on line...
lovinside > partenariat.php?lang=en

Dons, Jean Tito, Jean Miath, Jean Surfeur, Carole, Maelle, Eva-Léa,...
Bayside Group remercie tout particulierement les sociétés...
Cameron Collingwood, Mark Stout, Freddy smeets, Lisa...

 Forum de discussion pour Ados - ForumDesAdos / Script autosurf gratuit !!
forumdesados > viewtopic.php?id=384

 Moteur de recherche de script - classement des meilleurs sites web
free pagerank > net pratique/moteur de recherche de

Moteur de recherche de script : classement des meilleurs sites...
WEBMASTER ANNU Annuaire Gratuit de Reference pour le...

 AllMyStats - Script gratuit statistiques site web
miwim > Internet/Navigation/Utilitaires indispensables/AllMyStats

a été ajouté dans l'annuaire Miwim le 02-09-2008 dans la...
AllMyStats - Script gratuit statistiques site web...

 astalalista index
astalalista

 Annuaire Miwim : annuaire gratuit de liens en dur : Détail du site http://www.miwim.fr/
toplien > internet/annuaire/annuaire miwim annuaire gratuit de liens en dur d156

 Director Web | Maine Exista- Search Results
director.maine exista > index.php?search=home

Live in, hourly, weekend/night care home care to seniors living in...
ICU Computers is a company based in Ilkeston, and we want to always...
Helbal, Ayurveda, Unani, Yoga, naturopathy, Siddha, Homeopathy,...

 OussaMedia » FREE DDL » 85 Php Scripts
oussamedia > portail/85 php

The Well Known osCommerce PHP Shopping Cart! 9) Your Own FTP...
1) Expired Domain Finder Script: This PHP script has become a very...
1) Expired Domain Finder Script: 2) PHP Auto Hits Script: 3) PHP...

 PHP links
frederic.fournaise.free > php links.php

 Statistiques pagerank et backlinks de www.jeu-gratuit.ch
pagerankhotel > de/user www.jeu gratuit.ch

 LE CODE JAVA: LE CODE JAVASCRIPT - JAVASCRIPT ET HTML GRATUIT POUR WEBMASTER SUR L'INTERNET
lecodejava

Effect Zoom sur le Texte - Aggrandir le texte lorsqu'on met la souris...
DISPLAY LE NOMBRE DE VISITE ET LE MESSAGE DANS UN POPUP WINDOW...
Les Messages changent sur le bar de menu avec animation...

 monportfolio est un CMS un script php gratuit Realiser rapidement et intuitivement un site complet
fr.webmaster rank > ? mon portfolio est un CMS un

 Annuaire gratuit , annuaire internet , annuaire de sites gratuits
abc webmasters > Outil gratuit/Pagerank

- Trouvez rapidement un script simple pour visualiser la pagerank de...
- Utilisez notre outil libre de droits pour vérifier votre Google...

 Superpouvoir.com - Forum Comics & BD - Wizard : Michael Turner Millenium Edition
forum.superpouvoir > showthread.php?t=1907

*Soutenez Superpouvoir et commandez sur Amazon* (Cliquez et placez...
ah bah oui, les milléniums editions en VF, ça peut le...
Pourquoi il commence à s'y croire? Qu'est ce qui te permet de...



Response  
 

Guest name   (option)     Register
Please sum : 7227 + five  




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.