Here is what I made and it works (just if anyone wants to use it in the future).
<?php
////////////////////////////
////GOOGLE RESULTS FETCH////
////////////////////////////
//Get link
$openGoogle = fopen ("http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&q=".$term,"r");
$readGoogle = fread ($openGoogle, 64000);
ereg("that <A HREF=(.*)/>", $readGoogle, $array);
$link_n_chars = $array[1];
fclose ($openGoogle);
//Get number of results
$openGoogle = fopen ("http://www.google.com".$link_n_chars,"r");
$readGoogle = fread ($openGoogle, 64000);
ereg("of about <b>(.*)</b>. Search", $readGoogle, $array2);
$numberResults = $array2[1];
fclose ($openGoogle);
$numberResults = ereg_replace(",", "", $numberResults);
if (!$array2) { $numberResults = 0; }
echo $numberResults."<br />";
////////////////////////////
////LYCOS RESULTS FETCH/////
////////////////////////////
//Get number of results
$openLycos = fopen ("http://search.lycos.com/default.asp?loc=searchbox&query=linkdomain%3A".$term."&tab=web&adv=1&adf=-3","r");
$readLycos = fread ($openLycos, 64000);
ereg("of (.*) \(<a href", $readLycos, $array);
$numberResults = $array[1];
fclose ($openLycos);
$numberResults = ereg_replace(",", "", $numberResults);
if (!$array) { $numberResults = 0; }
echo $numberResults."<br />";
////////////////////////////
//ALTAVISTA RESULTS FETCH///
////////////////////////////
//Get number of results
$openAltavista = fopen ("http://www.altavista.com/web/results?q=link%3A".$term."&kgs=0&kls=1&avkw=xytx","r");
$readAltavista = fread ($openAltavista, 64000);
ereg("AltaVista found (.*) results", $readAltavista, $array);
$numberResults = $array[1];
fclose ($openAltavista);
$numberResults = ereg_replace(",", "", $numberResults);
if (!$array) { $numberResults = 0; }
echo $numberResults;
?>