问Google只要要PR_PHP
[code]
if(!empty($_GET["url"]))
{
include "google_pagerank.php";
print "不包含http://
".$_GET["url"]."的pr是 ".(int)getrank($_GET["url"])." ";
}
?>
[/code]
google_pagerank.php的代码
[code]
/*
Google PR v2.0
author zhil (zhil@ukr.net)
GoogleToolbar 2.0.111-big
*/
function fadd($v1,$v2)
{
$v3 = $v1 + $v2;
if($v3 > 4294967295)$v3 = $v3 - 4294967296;
// print $v3."
";
return $v3;
}
function fsub($v1,$v2)
{
$v3 = $v1 - $v2;
if($v3 if($v3 > 4294967295)$v3 = $v3 - 4294967296;
// print $v3."
";
return $v3;
}
function fdl($v1,$v2)
{
// if($v1 > 2147483647){$v1 = 2147483647;$v2++;}
$v3 = $v1 while($v3 > 4294967295)$v3 = $v3 - 4294967296;
return $v3;
}
function fdr($v1,$v2)
{
if($v1 > 2147483647){$v1 = floor($v1/2);$v2--;}
$v3 = $v1 >> $v2;
// while($v3 > 4294967295)$v3 = $v3 - 4294967296;
return $v3;
}
function fxr($v1,$v2)
{
$v3 = $v1 ^ $v2;
while($v3 > 4294967295)$v3 = $v3 - 4294967296;
while($v3 return $v3;
}
function z($var)
{
GLOBAL $$var;
print $var." = ".$$var."
";
}
function get_ch($url)
{
$c1 = 0xE6359A60;
$c2 = 0x9E3779B9;
$url = "info:".$url;
//z('url');
// uint $_eax, $_edi, $_ecx, $_edx, _esi, $_edi;
// uint _var8, _var4;
$_var4 = strlen($url);
GLOBAL $_eax,$_ebx,$_ecx,$_edx,$_edi,$_esi;
$_esi = $c1;
$_edi = $_ebx = $c2;
if ($_var4 > 11)
// goto loc_1002FCD6;
{
$_var8 = floor($_var4 / 12);
$_ecx = 0;
//loc_1002FBFB:
while($_var8 > 0)
{
$_eax = ord($url[(int)($_ecx+0x7)]);
$_edx = ord($url[(int)($_ecx+0x6)]);
$_eax = fdl($_eax,8);
$_eax = fadd($_eax,$_edx);
$_edx = ord($url[(int)($_ecx+0x5)]);
$_eax = fdl($_eax,8);
$_eax = fadd($_eax,$_edx);
$_edx = ord($url[(int)($_ecx+0x4)]);
$_edx = fadd($_edx,$_edi);
$_eax = fdl($_eax,8);
$_edi = fadd($_edx,$_eax);
$_eax = ord($url[(int)($_ecx+0xB)]);
$_edx = ord($url[(int)($_ecx+0xA)]);
$_eax = fdl($_eax,8);
$_eax = fadd($_eax,$_edx);
$_edx = ord($url[(int)($_ecx+0x9)]);
$_eax = fdl($_eax,8);
$_eax = fadd($_eax,$_edx);
$_edx = ord($url[(int)($_ecx+0x8)]);
$_edx = fadd($_edx,$_esi);
$_eax = fdl($_eax,8);
$_esi = fadd($_edx,$_eax);
$_edx = ord($url[(int)($_ecx+0x3)]);
$_eax = ord($url[(int)($_ecx+0x2)]);
$_edx = fdl($_edx,8);
$_edx = fadd($_edx,$_eax);
$_eax = ord($url[(int)($_ecx+0x1)]);
$_edx = fdl($_edx,8);
$_edx = fadd($_edx,$_eax);
$_eax = ord($url[(int)($_ecx+0x0)]);
$_edx = fdl($_edx,8);
$_edx = fadd($_edx,$_eax);
$_edx = fsub($_edx,$_edi);
$_edx = fsub($_edx,$_esi);
$_eax = $_esi;
$_eax = fdr($_eax,13);
$_edx = fadd($_edx,$_ebx);
$_edx = fxr($_edx,$_eax);
$_edi = fsub($_edi,$_edx);
$_edi = fsub($_edi,$_esi);
$_eax = $_edx;
$_eax = fdl($_eax,8);
$_edi = fxr($_edi,$_eax);
$_esi = fsub($_esi,$_edi);
$_esi = fsub($_esi,$_edx);
$_eax = $_edi;
$_eax = fdr($_eax,13);
$_esi = fxr($_esi,$_eax);
$_edx = fsub($_edx,$_edi);
$_edx = fsub($_edx,$_esi);
$_eax = $_esi;
$_eax = fdr($_eax,12);
$_edx = fxr($_edx,$_eax);
$_edi = fsub($_edi,$_edx);
$_edi = fsub($_edi,$_esi);
$_eax = $_edx;
$_eax = fdl($_eax,16);
$_edi = fxr($_edi,$_eax);
$_esi = fsub($_esi,$_edi);
$_var4 -= 12;
$_esi = fsub($_esi,$_edx);
$_eax = $_edi;
$_eax = fdr($_eax,5);
$_esi = fxr($_esi,$_eax);
$_edx = fsub($_edx,$_edi);
$_eax = $_esi;
$_eax = fdr($_eax,3);
$_edx = fsub($_edx,$_esi);
$_edx = fxr($_edx,$_eax);
$_ebx = $_edx;
$_edi = fsub($_edi,$_ebx);
$_edi = fsub($_edi,$_esi);
$_eax = $_ebx;
$_eax = fdl($_eax,10);
$_edi = fxr($_edi,$_eax);
$_esi = fsub($_esi,$_edi);
$_eax = $_edi;
$_esi = fsub($_esi,$_ebx);
$_eax = fdr($_eax,15);
$_esi = fxr($_esi,$_eax);
$_ecx += 12;
// z('_eax');z('_ebx');z('_ecx');z('_edx');z('_edi');z('_esi');die();
$_var8 --;
}
}else
{
$_ecx = 0;
}
//loc_1002FCD9:
$_esi += strlen($url);
$_eax = $_var4;
$_eax --;
if ($_eax {
/* switch ($_eax) {
case 0x0:
break;
case 0x1:
break;
case 0x2:
break;
case 0x3:
break;
case 0x4:
break;
case 0x5:
break;
case 0x6:
break;
case 0x7:
break;
case 0x8:
break;
case 0x9:
break;
case 0xA:
break;
}*/
//loc_1002FCF0: // case 0xa
if($_eax == 0xa)
{
$_eax = ord($url[(int)($_ecx+0xA)]);
$_eax = fdl($_eax,24);
$_esi = fadd($_esi,$_eax);
$s1 = true;
}
//loc_1002FCF9: // case 0x9
if(($_eax == 0x9)||$s1)
{
$_eax = ord($url[(int)($_ecx+0x9)]);
$_eax = fdl($_eax,16);
$_esi = fadd($_esi,$_eax);
$s2 = true;
}
//loc_1002FD02: // case 0x8
if(($_eax == 0x8)||$s2)
{
$_eax = ord($url[(int)($_ecx+0x8)]);
$_eax = fdl($_eax,8);
$_esi = fadd($_esi,$_eax);
$s3 = true;
}
//loc_1002FD0B: // case 0x7
if(($_eax == 0x7)||$s3)
{
$_eax = ord($url[(int)($_ecx+0x7)]);
$_edx = ord($url[(int)($_ecx+0x6)]);
$_eax = fdl($_eax,8);
$_eax = fadd($_eax,$_edx);
$_edx = ord($url[(int)($_ecx+0x5)]);
$_eax = fdl($_eax,8);
$_eax = fadd($_eax,$_edx);
$_edx = ord($url[(int)($_ecx+0x4)]);
$_eax = fdl($_eax,8);
$_edx = fadd($_edx,$_edi);
$_edi = fadd($_edx,$_eax);
$g1 = true;
//goto loc_1002FD47;
}
//loc_1002FD2F: // case 0x6
if(($_eax == 0x6))
{
$_eax = ord($url[(int)($_ecx+0x6)]);
$_eax = fdl($_eax,16);
$_edi = fadd($_edi,$_eax);
$s5 = true;
}
//loc_1002FD38: // case 0x5
if(($_eax == 0x5)||$s5)
{
$_eax = ord($url[(int)($_ecx+0x5)]);
$_eax = fdl($_eax,8);
$_edi = fadd($_edi,$_eax);
$s6 = true;
}
//loc_1002FD41: // case 0x4
if(($_eax == 0x4)||$s6)
{
$_eax = ord($url[(int)($_ecx+0x4)]);
$_edi = fadd($_edi,$_eax);
$s7 = true;
}
//loc_1002FD47: // case 0x3
if(($_eax == 0x3)||$g1||$s7)
{
$_eax = ord($url[(int)($_ecx+0x3)]);
$_edx = ord($url[(int)($_ecx+0x2)]);
$_eax = fdl($_eax,8);
$_eax = fadd($_eax,$_edx);
$_edx = ord($url[(int)($_ecx+0x1)]);
$_ecx = ord($url[(int)($_ecx+0x0)]);
$_eax = fdl($_eax,8);
$_eax = fadd($_eax,$_edx);
$_eax = fdl($_eax,8);
$_ecx = fadd($_ecx,$_ebx);
$_ebx = fadd($_ecx,$_eax);
$g2 = true;
}
//loc_1002FD6A: // case 0x2
if($_eax == 0x2)
{
$_eax = ord($url[(int)($_ecx+0x2)]);
$_eax = fdl($_eax,16);
$_ebx = fadd($_ebx,$_eax);
$s8 = true;
}
//loc_1002FD73: // case 0x1
if(($_eax == 0x1)||$s8)
{
$_eax = ord($url[(int)($_ecx+0x1)]);
$_eax = fdl($_eax,8);
$_ebx = fadd($_ebx,$_eax);
$s9 = true;
}
if(($_eax == 0x0)||$s9)
{
//loc_1002FD7C: // case 0x0
$_eax = ord($url[(int)($_ecx+0x0)]);
$_ebx = fadd($_ebx,$_eax);
}
}
//loc_1002FD81: // default
$_ebx = fsub($_ebx,$_edi);
$_ebx = fsub($_ebx,$_esi);
$_eax = $_esi;
$_eax = fdr($_eax,13);
$_ebx = fxr($_ebx,$_eax);
$_edi = fsub($_edi,$_ebx);
$_edi = fsub($_edi,$_esi);
$_eax = $_ebx;
$_eax = fdl($_eax,8);
$_edi = fxr($_edi,$_eax);
$_esi = fsub($_esi,$_edi);
$_esi = fsub($_esi,$_ebx);
$_eax = $_edi;
$_eax = fdr($_eax,13);
$_esi = fxr($_esi,$_eax);
$_ebx-= $_edi;
$_ebx = fsub($_ebx,$_esi);
$_eax = $_esi;
$_eax = fdr($_eax,12);
$_ebx = fxr($_ebx,$_eax);
$_edi = fsub($_edi,$_ebx);
$_edi = fsub($_edi,$_esi);
$_eax = $_ebx;
$_eax = fdl($_eax,16);
$_edi = fxr($_edi,$_eax);
$_esi = fsub($_esi,$_edi);
$_eax = $_edi;
$_esi = fsub($_esi,$_ebx);
$_eax = fdr($_eax,5);
$_esi = fxr($_esi,$_eax);
$_ebx = fsub($_ebx,$_edi);
$_eax = $_esi;
$_ecx = $_eax;
$_ebx = fsub($_ebx,$_eax);
$_ecx = fdr($_ecx,3);
$_ebx = fxr($_ebx,$_ecx);
$_edi = fsub($_edi,$_ebx);
$_edi = fsub($_edi,$_eax);
$_ecx = $_ebx;
$_ecx = fdl($_ecx,0xA);
$_edi = fxr($_edi,$_ecx);
$_eax = fsub($_eax,$_edi);
$_eax = fsub($_eax,$_ebx);
$_edi = fdr($_edi,0xF);
$_eax = fxr($_eax,$_edi);
return "6".$_eax;
}
function getrank($url)
{
ob_start();
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://66.102.11.104/search?client=navclient-auto&ch=".get_ch($url)."&ie=UTF-8&oe=UTF-8&features=Rank&q=info:".$url);
// print get_ch($url);die();
// curl_setopt($ch, CURLOPT_URL, "http://66.102.11.104/search?client=navclient-auto&ch=6517667070&ie=UTF-8&oe=UTF-8&features=Rank&q=info:http://www.skinz.org");
// http:///search?client=navclient-auto&ch=6517667070&ie=UTF-8&oe=UTF-8&features=Rank&q=info:http%3A%2F%2Fwww%2Eskinz%2Eorg
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; GoogleToolbar 2.0.102-big; Windows XP 5.1)");
curl_exec($ch);
curl_close($ch);
$content = ob_get_contents();
ob_end_clean();
// print $content;
return substr($content,(strrpos($content,":")+1));
}
?>
[/code]

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Driven by the era of automotive electrification, China's domestic automakers are actively involved in the production of electric supercars. Recently, Haopin, a high-end electric brand owned by GAC Aian, launched an electric supercar called SSR. Previously, BYD's Yangwang U9 also received widespread attention. Recently, a video was circulated on the Internet, purportedly showing Yangwang. U9 test video. In the video, a U9 is speeding on the track. Surprisingly, the vehicle's brake discs flash bright orange, making it look like it is competing in the 24 Hours of Le Mans. Particularly striking is the fact that the brake discs on the front wheels are at least twice as bright as those on the rear wheels. However, it is impossible to determine from the video whether the flash of light is caused by the flames produced by the brake discs during braking or whether it is the lighting effect of the vehicle. exhaust

When some Win7 laptop customers use the numeric keyboard, they encounter the reason why they type u but it becomes 4. what happen? In fact, this is because your laptop has the keyboard integrated into the letter keys. You can fix this problem by simply closing the keyboard. The specific steps are as follows: FN+nunlock key conversion can input English letters normally. This method can also be used if the customer encounters pressing I to change to 5. How to solve the problem that the win7 numeric keyboard u becomes 4:1. For better convenience, the laptop does not have a small keyboard area. Therefore, there are keys that define the function of the numeric keypad. You can use the FN+nunlock key to convert. Some must use shift+numlock to enter English or data. 2.Numpad-

The article introduces that virtual currency is a digital or virtual currency form that relies on cryptography and trades through peer-to-peer networks, and lists common currencies such as Bitcoin. It is usually available on cryptocurrency exchanges such as Coinbase, and all the advantages and disadvantages of each transaction. It emphasizes that the purchase of virtual currency is high, the price fluctuates greatly, and is prone to fraud and hacking. It reminds you to conduct sufficient research before investing and only invest in funds that can bear losses. The information is for reference only and is not investment advice.

The OKX trading platform offers a variety of rates, including transaction fees, withdrawal fees and financing fees. For spot transactions, transaction fees vary according to transaction volume and VIP level, and adopt the "market maker model", that is, the market charges a lower handling fee for each transaction. In addition, OKX also offers a variety of futures contracts, including currency standard contracts, USDT contracts and delivery contracts, and the fee structure of each contract is also different.

When we use the win10 operating system, some friends need to use UF u8 on the computer because of work but don’t know how to operate it. Regarding this problem, the editor thinks that we can download UF u8 online first, and then go through the properties of the computer. Just make the corresponding settings, such as changing the computer name, modifying the registry, etc. Let’s take a look at how the editor did it for the detailed steps~ UFIDA u8win10 installation tutorial step 1: 1. On the “This PC” icon, select “Properties”; 2. Click Change under computer name, domain and workgroup settings Setting button: 3. Click on the "Computer Name" tab and enter the name that needs to be modified in the computer name field (English letters within 8 digits, excluding punctuation and special symbols); 4.

Ripple (XRP) Outlook: Can the altcoin season exceed $4? This article will explore whether Ripple (XRP) can break through the all-time high of $4 in the upcoming altcoin season. Despite the overall cryptocurrency market sluggish, XRP still has upside potential. Can XRP break through $4? Analysts predict XRP will rebound in the coming months, even reaching an all-time high of $4.12 on April 15, up nearly 80%. However, the average forecast price is around $3.12, and April 15 may be just a brief peak. XRP's cooperation with South Korea and the approval process of XRPETF will be key factors affecting its price. South Korea cooperation will increase XRP's market share in South Korea; and the approval of XRPETF will

TRON, a decentralized content entertainment platform based on blockchain technology, provides a comprehensive ecosystem that supports a variety of digital assets. The most well-known currency on the TRON chain is TRONIX (TRX), a practical token used to pay transaction fees and provide network incentives.

U coins (UNI), a native token of the decentralized exchange Uniswap, is widely used in the field of decentralized finance. This article introduces ten top U currency trading apps, including Uniswap, Coinbase, Binance, Gemini, Kraken, FTX, Huobi Global, Bybit, KuCoin and Gate.io. These apps cover a wide range of user needs, from beginner-friendly to advanced trading features.
