Pioneers of Website Services in EGYPT

Yahoo Arabic Rank

Check your website rank in Yahoo

Arabic Yahoo Rank

Now you can check your website rank in Yahoo for arabic words and arabic domains

Enter Key word for search ( Any language )

urlencode($query),
// Start offset
“b” => (10 * $start) +1,
// Number of result to a page
“num” => $perPage);
return “http://search.yahoo.com/search?” . urldecode(http_build_query($qur)) . “\n”;
}

if (isset($_REQUEST[‘url’]) && !empty($_REQUEST[‘url’])) {
// fetch data from specified url
$url = $_REQUEST[‘url’];
}

echo “Search for : ” . $the_domain . “
“;
// Find first 100 result for “pizza” in Canada
for ($p=0; $p<=9; $p++) { $ch = curl_init(urldecode(queryToUrl(str_replace(" ", "+", $url), $p))); // echo urldecode(queryToUrl($url, $p)) . "
“;

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
// curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_AUTOREFERER, 1);
curl_setopt($ch, CURLOPT_USERAGENT, “spider”);
curl_setopt($ch, CURLOPT_MAXREDIRS, 4);
curl_setopt($ch, CURLOPT_TIMEOUT, 5);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);

$text = $text . curl_exec($ch);
}
curl_close($ch);

// echo $text;

// pare links
if (!empty($text)) {
$urls = preg_match_all(‘!]+>(.*?)<\/a>!’,
$text, $urlmatch);
if ($urls) {
$found = array();
foreach(array_unique($urlmatch[0]) as $url) {
$hrefpos = strpos($url, ‘http://’);
$rhref = substr ($url, $hrefpos+7);
// echo $rhref . “
“;
$lhref = strpos($rhref, “\””,0);
$flink = substr($rhref, 0, $lhref );
// echo $flink. “
“;
//if ( strstr($flink, ”)) {
array_push($found, $flink);
//}
}
$x = count($found);

for ($i=0; $i<=$x; $i++) { if ( strstr($found[$i], idn_to_ascii($the_domain))) { echo "Found No. : " . ($i+1) . "
“;
$the_domain_found = True;
}
}
if (!$the_domain_found)
{ echo “Not found in the first 100 search “; }
}
}

// print_r ($text);
?>