Pioneers of Website Services in EGYPT

Arabic Google Rank

Check your website rank in Google

Arabic Google Rank

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

Enter Key word for search ( Any language )

urlencode($query),
// Country (geolocation presumably)
“gl” => $country,
// Start offset
“start” => $start,
// Number of result to a page
“num” => $perPage);
return “http://www.google.com/search?” . urldecode(http_build_query($qur)) . “\n”;
}

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

// Find first 100 result for “pizza” in Canada
$ch = curl_init(urldecode(queryToUrl(str_replace(” “, “+”, $url), 0, 100, “”)));
// echo urldecode(queryToUrl($url, 0, 100, “EG”)) . “
“;
echo “البحث عن موقع : ” . $the_domain . “
“;

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 = curl_exec($ch);
curl_close($ch);

// pare links
if (!empty($text)) {
$urls = preg_match_all(‘/]*href=(\”??)([^\” >]*?)\\1[^>]*>(.*)<\/a>/siU’,
$text, $urlmatch);
if ($urls) {
$found = array();
foreach(array_unique($urlmatch[0]) as $url) {
$hrefpos = strpos($url, ‘href=’);
$rhref = substr ($url, $hrefpos+6);
// echo $rhref . “
“;
$lhref = strpos($rhref, “\””,0);
$flink = substr($rhref, 0, $lhref );

if ( strstr($flink, ‘/url?q=’)) {
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);
?>