English 中文(简体)
• 如何创建谷歌 PHP
原标题:How To Create Google PageRank Checker By PHP

I want a Google PageRank Checker for check pageRank a url that if was larger of 5, return (result) it is TRUE, else (less of 5) return (result) is FALSE. how is it by PHP or codeigniter?

最佳回答

Mark Woodman 创建了一个乳类组,让你在PHP及以上查找谷歌首页。 完整的课程见

这里有一个详细的理论:

Google Pagerank in PHP

EDIT:

Here is a class of google page rank checker on php classes:

rel=“nofollow”> 班级: 页: 1

这里还有另一个log:

http://davidwalsh.name/google-pagerank

Hope this helps.

问题回答

https://stackoverflow.com/a/20773428/624466。 Vivek 回答

Above david walsh script is not working. I am using SEOStats library present in GITHub. Source: https://github.com/eyecatchup/SEOstats/#brief-example-of-use

实际上,你不需要使用完整的图书馆。 SEOstat内部使用一个单独的谷歌页面级,可使用如下:

<?php
  $url =  http://somedomain.com/ ;  
  $pr  = new GTB_PageRank($url);

  $rank = $pr->getPageRank();

  printf("The Google Pagerank of %s is %s.", $url, $rank);

我认为,这一类的一点是,它支持所有现有的PRankhing算法(黑体、jenkins、jenkins2和IE),并且具有一些先进特征,如所建议的工具bar-TLD和更多的工具。

您可在此查阅该守则:





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...