Here is what I have but it always sends 0 as the result any help would be appriciated. function yahoo_inlink($uri) { $uri = trim(eregi_replace('http://', '', $uri)); $uri = trim(eregi_replace('http', '', $uri)); $url = 'http://search.yahoo.com/search?p=http%3A%2F%2F%3Ahttp%3A%2F%2F'.$uri.'&fr=siteexplorer'; $v = file_get_contents_curl($url); preg_match('/of about \<strong\>(.*?) \<\/strong\>/si',$v,$r); return ($r[1]) ? $r[1] : '0'; } Code (markup):