The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Little help needed in building a back link checker script, I already make a little script who check the back links of any website
amir123
post Dec 28 2011, 03:13 AM
Post #1





Group: Members
Posts: 7
Joined: 25-December 11
Member No.: 16,141



Hiii,

Actually i was creating a little script which help to find back links of any website which is inserted in code...and i made it (which i show it at end). Now i want to upgrade this code and need some more info about website which we use in code for back link checking....

(what i want to improve)

This code is very lazy and take a time to show there back links. To make even very faster

export it as excel sheet

it will look like this


IPB Image


( my script for back link checker )


<?php

$source = file_get_contents("source.txt");
$needle = "www.IamtryingtocheckThisPage"; //without http as I have imploded the http later in the script
$new = explode("\n",$source);

foreach ($new as $check) {
$a = file_get_contents("http://".trim($check));

if (strpos($a,$needle)) {
$found[] = $check;
} else {
$notfound[] = $check;
}
}

echo "Matches that were found: \n ".implode("\n",$found)."\n";
echo "Matches that were not found \n". implode("\n",$notfound);
?>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Dec 28 2011, 09:20 AM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



I'm confused. Do you have a specific question about this program?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
amir123
post Dec 30 2011, 12:17 AM
Post #3





Group: Members
Posts: 7
Joined: 25-December 11
Member No.: 16,141



yes.... i want to change it ......


i want to change it to ........php script which look like above picture which i inserted......

after design this php script can do this work.........

1---- can collect back links of every site very quickly.
2----can display the url of back links where they come from.


(this program can't do all this so i want to change it ...it can only display the url of back links and with very slow speed)
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 10:53 AM