This is probably the simplest script that anyone knowing (or even learning) PHP can create in about 15seconds. But I will still post it here just in case anyone is a total noob at PHP.

Purpose of this script: To check a certain given backlink on hundreds of webpages provided you know the URL of every webpage.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?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);
?>