Olabilir. Kodu test edebilirsin. PHP:

Bu kod daha once calisiyormuydu? Calismayan bir kod kullaniyor olabilirsin, google PR algoritmalarini degistirmis olabilir.

siteme basit bir pagerank gösterme kodu koydum fakat, her site için PR ; -1 gösteriyor, neden acaba, tecrübesi olan varmı. kod aşağıda: &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;style. css&quot; media=&quot;all&quot; /&gt; &lt;center&gt;&lt;div align=center id=&quot;container&quot;&gt; &lt;h1 align=&quot;center&quot;&gt;Miskinler Pagerank Ölçer &lt;/h1&gt; &lt;form method=&quot;POST&quot;&gt; &lt;font face=&quot;verdana&quot; size=&quot;1&quot; color=&quot;#990000&quot; &gt;Site Adresi: &lt;/font&gt; &lt;input name='url' value='&lt;?=$_REQUEST ; ?&gt;' size=&quot;20&quot;&gt;&lt;input type=&quot;submit&quot; value=&quot;Pagerankini Ölç&quot;&gt; &lt;/form&gt; &lt;font face=&quot;verdana&quot; size=&quot;1&quot; color=&quot;#990000&quot;&gt;Örnek:&lt;/font&gt; &lt;font face=&quot;verdana&quot; size=&quot;1&quot;&gt; www.Miskinler.net By &lt;a href=&quot;&lt;A href=&quot;http://www.miskinler.net&quot;&gt;Miskin&lt;/a&gt;&lt;/font&quot;&gt;http://www. miskinler. net&quot;&gt;Miskin&lt;/a&gt;&lt;/font&gt; &lt;hr&gt; &lt;? $website = $_REQUEST ; if { if( ! strstr &amp;&amp; ! strstr ) $linkedpages = linkcheck ; $indexedpages = GoogleLinks ; $pr = GooglePageRank ; $indexed = $indexedpages ; $links = $linkedpages ; $data = array ; $target = trim(eregi_replace ; // checking Google $source = 'http://www.google.com/search?hl=en&amp;lr=&amp;ie=UTF-8&amp;q=link%3A'.$target; $data = array(fetch($source, 'of about', 9, 'linking', 'did not match any documents'), $source); // checking Yahoo! $source = 'http://search.yahoo.com/search?p=linkdomain%3A'.$target.'&amp;sm=Yahoo%21+Sear ch&amp;fr=FP-tab-web-t&amp;toggle=1'; $data = array(fetch($source, 'of about', 9, 'for', &quot;we didn't find any web pages&quot;), $source); // checking AlltheWeb $source = 'http://www.alltheweb.com/search?cat=web&amp;cs=utf8&amp;q=link%3A'.$target.'&amp;rys=0&amp; _sb_lang=pref'; $data = array(fetch($source, 'audio1 -', 14, 'results', &quot;no web pagesfound that match your query&quot;), $source); // checking AltaVista $source = 'http://www.altavista.com/web/results?itag=wrx&amp;q=linkdomain%3A'.$target.'&amp;kgs=1&amp; kls=0'; $data = array(fetch($source, 'altavista found', 15, 'results', &quot;we found 0 results&quot;), $source); ?&gt; &lt;table width='400' border='0' cellpadding='5' cellspacing='0'&gt; &lt;tr&gt; &lt;td align='left' colspan='2'&gt;&lt;b&gt;Google : &lt;/b&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;strong&gt;Website&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;&lt;?=$website?&gt;&quot;&gt;&lt;?=$website?&gt;&lt;/a&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;strong&gt;Page Rank&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;?=$pr?&gt; / 10&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;strong&gt;Indexed Sayfaları &lt;/strong&gt;&lt;/td&gt; &lt;td&gt;&lt;a href=&quot;&lt;?=$indexedpages ?&gt;&quot;&gt;&lt;?=$indexed?&gt;&lt;/a&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;strong&gt;BackLink&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;&lt;?=$linkedpages ?&gt;&quot;&gt;&lt;?=$links?&gt;&lt;/a&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;hr&gt; &lt;table width='400' border='0' cellpadding='5' cellspacing='0'&gt; &lt;tr&gt; &lt;td align='center' colspan='2'&gt;&lt;h2&gt;Link Popülaritesi&lt;/h2&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;strong&gt;Arama Motoru &lt;/strong&gt;&lt;/td&gt; &lt;td align='right'&gt;&lt;strong&gt;Backlinkler&lt;/strong&gt;&lt;/td&gt; &lt;/tr&gt; &lt;? foreach ?&gt; &lt;tr&gt; &lt;td&gt;&lt;strong&gt;Toplam&lt;/strong&gt;&lt;/td&gt; &lt;td align='right'&gt;&lt;strong&gt;&lt;? echo $total; ?&gt;&lt;/strong&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/div&gt; &lt;/center&gt; &lt;? } function fetch { $data = @implode('', @file ; $data = strip_tags ; $data = strtolower ; $data = str_replace ; $data = str_replace ; if(substr_count else } function linkcheck { global $total; $arr = parse_url ; $url = $arr ; $path = &quot;&lt;A href=&quot;http://www.google.com/search?hl=en&amp;lr=&amp;ie=UTF-8&amp;q=link%3A&quot;.$url&quot;&gt;http://www. google.com/search?hl=en&amp;lr=&amp;ie=UTF-8&amp;q=link%3A&quot;.$url; if(! file_exists { $data = strtolower(strip_tags(implode(&quot;&quot;, file ; $data = substr($data, strpos +9, strlen ; $data = substr($data, 0, strpos ; if(eregi else } else return $results; } function GoogleLinks { $arr = parse_url ; $url = $arr ; $engine = 'google'; $path = 'http://www.google.com/search?q=inurl:'.$url.'&amp;hl=en&amp;lr=&amp;ie=UTF-8&amp;filter=0'; if(! file_exists { $data = str_replace(' ', ' ', strtolower(strip_tags(@implode('', @file ; if(! strpos else } else return $results; } function GooglePageRank { $arr = parse_url ; $url = $arr ; $url=&quot;info:&quot;.$url; $ch=GoogleCSum($url,0xE6359A60); $host=&quot;toolbarqueries. google.com&quot;; $hostip=gethostbyname ; $query =&quot;GET /search?client=navclient-auto&amp;ch=6&quot;.$ch.&quot;&amp;ie=UTF-8&amp;oe=UTF-8&amp;features=Rank&amp;q=&quot;. rawurlencode .&quot; HTTP/1.0\r\n&quot;; $query.=&quot;Host: $host\r\n&quot;; $rank=-1; $query.=&quot;User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)\r\n&quot;; $query.=&quot;Connection: Close\r\n\r\n&quot;; $fp=fsockopen($hostip,80,$errno,$errstr,30); if { fputs ; $data=&quot;&quot;; while (! feof $data.=fgets($fp,4096); fclose ; $data=explode ; foreach if (! is_bool(strpos($line,&quot;Rank_1&quot;))) } return $rank; } function GoogleCSum { $v4=$len=strlen ; $esi=$key; $ebx=$edi=0x9E3779B9; $p=0; if ($len&gt;=12) for($i=0;$i&lt;floor($len/12);$i++) $esi=unsign ; if ($v4&gt;=11) $esi=unsign($esi+(ord($s ) &lt;&lt; 24)); if ($v4&gt;=10) $esi=unsign($esi+(ord($s ) &lt;&lt; 16)); if ($v4&gt;=9) $esi=unsign($esi+(ord($s ) &lt;&lt; 8)); if ($v4&gt;=8) $edi=unsign($edi+ord($s )+(ord($s ) &lt;&lt; 8)+(ord($s ) &lt;&lt; 16)+(ord($s ) &lt;&lt; 24)); else if ($v4&gt;=4) $ebx=unsign($ebx+ord($s )+(ord($s ) &lt;&lt; 8)+(ord($s ) &lt;&lt; 16)+(ord($s ) &lt;&lt; 24)); else $ebx=unsign ^shr($esi,13)); $edi=unsign ^($ebx &lt;&lt; 8)); $esi=unsign ^shr($edi,13)); $ebx=unsign ^shr($esi,12)); $edi=unsign ^($ebx &lt;&lt; 16)); $esi=unsign ^shr($edi,5)); $ebx=unsign ^shr($esi,3)); $edi=unsign ^($ebx &lt;&lt; 10)); $esi=unsign ^shr($edi,15)); return $esi; } function shr function unsign { $l=intval ; if ($l&gt;=0) else } ?&gt;

Mywedding' Alıntı:

daha önce çalışıyordu, sunucuyla alakalımı diye düşünüyorum, çünkü aynı kod başka sitede tıkır tıkır işliyor. örnek: http://www.miskinler.net/pagerank/pagerank. php