You could just grab the list of websites, and run curl
through each of them.
Edit: Alternatively, you could try this awesome lib, simple dom parser (http://simplehtmldom.sourceforge.net):
<?php
require 'simple_html_dom.php';
define(MYWEBSITE, "google.com");
$html = file_get_html('http://www.google.com/');
foreach($html->find('a') as $link) {
$url = $link->href;
if (!strpos($url, MYWEBSITE)) {
// Do whatever you need to do here, we'll just simply echo out
// the website URL that has your site URL in it.
echo $url . " contains " . MYWEBSITE ."\n";
}
}
?>
Just a simple hack, but it does the job.