Hocam sorunu o sandım ve dün gece zaten http_referer olarak değiştirmiştim. Sıkıntı ondan kaynaklanmıyormuş. Hala kodu eklediğim sitede pagerankı gösteremiyorum.
yerinde olsam gerçek pr değerini önüne koyarım yapının örnek:
45796e9e6385fb878e900c49d3077ed8
PR 9 site için:
945796e9e6385fb878e900c49d3077ed8
<?
$pr_get = substr($_GET['t'],0,1);
function gosterpr($a){
if($a=='0'){ $b='<img src="http://ibolac.bl.ee/pr-buttons/0.gif" alt="Pagerank 0" />'; }
if($a=='1'){ $b='<img src="http://ibolac.bl.ee/pr-buttons/1.gif" alt="Pagerank 0" />'; }
if($a=='2'){ $b='<img src="http://ibolac.bl.ee/pr-buttons/2.gif" alt="Pagerank 0" />'; }
if($a=='3'){ $b='<img src="http://ibolac.bl.ee/pr-buttons/3.gif" alt="Pagerank 0" />'; }
if($a=='4'){ $b='<img src="http://ibolac.bl.ee/pr-buttons/4.gif" alt="Pagerank 0" />'; }
if($a=='5'){ $b='<img src="http://ibolac.bl.ee/pr-buttons/5.gif" alt="Pagerank 0" />'; }
if($a=='6'){ $b='<img src="http://ibolac.bl.ee/pr-buttons/6.gif" alt="Pagerank 0" />'; }
if($a=='7'){ $b='<img src="http://ibolac.bl.ee/pr-buttons/7.gif" alt="Pagerank 0" />'; }
if($a=='8'){ $b='<img src="http://ibolac.bl.ee/pr-buttons/8.gif" alt="Pagerank 0" />'; }
if($a=='9'){ $b='<img src="http://ibolac.bl.ee/pr-buttons/9.gif" alt="Pagerank 0" />'; }
if($a=='9'){ $b='<img src="http://ibolac.bl.ee/pr-buttons/10.gif" alt="Pagerank 0" />'; }
return $b;
}
print gosterpr($pr_get);
?>
Hocam senin verdiğin şekilde yaptım, yalnız bu sonucu etkilemedi. Örneğin;
http://ibolac.bl.ee/pr.php?t=0560183...44f98fb45509de şeklinde direk url ye girdiğimizde resim çıkıyor. Fakat bu linki
<img src="http://ibolac.bl.ee/pr.php?t=056018323b921dd2c5444f98fb45509de" />
şeklinde siteye eklediğimizde resim çıkmıyor.