10-22-2006, 04:09 AM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Oct 2006
|
Bulk Pagerank Checker Script?
I need a bulk pagerank checker which reads from txt per a line and it checks. I coded one but i have a problem that i couldn't solve.
Code:
$fd = fopen ("lf.txt", "r"); $i=0; while (!feof ($fd)) { $buffer = fgets($fd); $lines[] = $buffer; $i++; } fclose($fd); for($k=0;$k<$i;$k++){ echo $lines[$k]; echo getPR("$lines[$k]"); echo "<br>"; } getPR calculates pagerank. This function works with single query. When i try this getPR('https://www.mobileread.com"); i get right result. But with my code when i try to execute script i got this error. Code:
Warning: file_get_contents(http://toolbarqueries.google.com/search?client=navclient-auto&ch=63046330079&ie=UTF-8&oe=UTF-8&features=Rank&q=info:www.google.com ) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in C:\Program Files\xampp\htdocs\pr.php on line 168 |
10-22-2006, 11:45 AM | #2 |
Evangelist
Posts: 490
Karma: 1641
Join Date: Oct 2006
Location: Louisville
Device: Sony Reader PRS-500
|
Well you get 403 forbidden if you place that link in your browser too, so it's a problem with the link.
Check over at webhostingtalk.com, I'm sure someone there has what you are are looking for. |
Advert | |
|
10-22-2006, 04:36 PM | #3 |
Addict
Posts: 330
Karma: 596
Join Date: Oct 2006
|
I read the title as "Bulk Pregnant Checker Script." Odd.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Google PageRank Checksum Algorithm | doctorow | Lounge | 295 | 08-03-2011 11:11 AM |
Spell checker | crutledge | Sigil | 31 | 12-29-2010 01:31 PM |
Google Toolbar Pagerank Checksum Revealed! | Alexander Turcic | Lounge | 5 | 02-17-2006 08:09 AM |