Page Rank Tool

This Page Rank Reporting tool (aka: Page Rank Bean Counter) checks the Google page rank of several urls at once and gives you the option of displaying the results in .CSV format.

I wrote the script myself using a slightly modified version of the PHP pagerank script that’s been floating around the internet. I’ll post the source for the script in a few days.

14 Responses to “Page Rank Tool”

  1. Gaurav Arora Says:

    Thank you. Your class solved the problem. I’ll be sure to mention you and your class when I make a blog post on my site.

    Once again, thank you, I was going nuts trying to figure out the $ch value.

  2. Gaurav Arora Says:

    I forgot to add, i’m a freelance PHP developer, if I can be of any assistance to you in the future, please don’t hesistate to ask.

    Thanks.

  3. MikeMajorowicz Says:

    Glad the source code the for the Page Rank Tool helped you out. I think I ended up working on the problem for a couple days before I figured out how to get around php’s funky type conversions for bitwise operators.

  4. Nico Says:

    Great tool! Is there also a way to have this script read a txt file from local disk instead of using the form ? (if possible, just to be executed from a linux shell).

  5. MikeMajorowicz Says:

    Here’s a quick and dirty hack to read the urls from a text file:

    Replace:
    if (isset($_POST['UrlList'])) {

    with:
    $_POST['UrlList']=file_get_contents('UrlFile.txt');
    $_POST['CSV']='on'; #Comment this out for regular html output
    if (isset($_POST['UrlList'])) {

    You’ll get some html mixed in with the output, but the CSV format should eliminate the html from the url results.

    Since you’re installing it as a shell script, don’t forget to provide a link back to Magic Bean Dip from somewhere else.

  6. Frosty Says:

    This does not seem to work on my server.
    The server is running on PHP 4.4.4, on Red Hat Linux…
    Processor: Intel(R) Xeon(TM) CPU 2.80GHz
    I mainly want to know why this fails. It works fine on my test server which is on Windows with the latest version of PHP. If it is a PHP version thing, I will upgrade, but I do not want to without knowing for sure.

  7. Andrew Says:

    I used the script for a couple of months successfully, then suddenly it started outputting -1 for all urls. I tried it on 3 different servers still the same result, though on my local server it worked but somehow the results were lower than on my google toolbar.
    I wonder what happened?

  8. Andrew Says:

    I fixed the prog using PageRankXor32 instead of PageRank but stuck on another issue.
    When I try to check pr of url with + or & or ? characters such as http://www.check-affiliate-program.com/affiliate-programs-directory/Domain+Names.html even in .html format I always get -1 value though the toolbar shows 2 or other.
    Any help appreciated

  9. Nivanka Fonseka Says:

    This is grate work, I tried to settle this for my use but I found this code, It saved a lot of time and the logic grate.
    Thank you

  10. Raymond Says:

    After more or less 5 hours of searching the Internet thank God I’ve found your script! Great work dude! I can say that this is really a cross-server google page rank script! I tested in on 2 servers and it worked like a charm! Keep up the good work! I’ll be sure to blog about it. Thanks!

  11. Google Page Rank Reporting | raymondselda.com Says:

    […] ar to the original script with only a slight modification. Details and script can be found here.

    Posted in PHP |
    […]

  12. Nivanka Fonseka Says:

    The page rank is the pivot that google has used to do all the searching. This script is accessing the google server and retrive the page rank of the urls. The google toolbar does the same thing when you access a page google toolbar send the information to google and show you the page rank of that page. That is how google toolbar used to show the page rank. The error with the php scripts which you can find is that it is not calculating the checksum properly, Thank god here he has used his experties to resolve this problem. Grate work!!!!!!!!!

  13. Re: Pagerank API Says:

    Url Posted at C4G Forum

    There is no API call for retrieving Google Pagerank using the new AJAX API Google launched in place …

  14. Anak Medan Says:

    Dear Mate,

    I have check my PR using your script.. for http://www.listfreeware.com and http://anakmedan.org. And my question is, why the result of your script is different with google toolbar that i have been use.

    thank you!

Leave a Reply