07-12-2008, 12:22 PM
|
|
Confirmed User
Industry Role:
Join Date: Feb 2008
Location: South of the border
Posts: 1,682
|
Quote:
Originally Posted by k0nr4d
Code:
<?php
$result = mysql_query("SELECT * FROM trades");
while($row = mysql_fetch_array($result)) {
$string = file_get_contents($row[link]);
if(!eregi("http://www.yourlink.com",$string)) {
$bad[] = $row[site_name];
}
}
//and then you've got an array full of the names of the bad trades...
?>
|
This is awesome!!!  thanks for posting
|
|
|