View Single Post
Old 05-04-2009, 09:46 PM  
qwe
Confirmed User
 
Join Date: Jul 2003
Posts: 2,109
Quote:
Originally Posted by Voodoo View Post
Code:
<?php
error_reporting(0);

$url=$_GET['url'];
$string='THE TEXT YOU WANT TO CHECK FOR';
$handle = fopen("$url", "rb");
$contents = stream_get_contents($handle);
$count=substr_count("$contents", "$string");



if($count > 0){
	echo "PASS";
}else{
	echo "FAIL";
}

?>
This should get you started.
I don't see a code where I load up .txt file with urls ?
qwe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote