Here i share script to check alexa rank of website. This script may be useful for those who want to find alexa rank massively.
How Important Alexa rank or Alexa ranking for a website or blog?
For those website owners who do not make the website to make money on the internet, then the Alexa rank is not very useful. However, although useless, sometimes alexa rank became a prestige, because if alexa rank is good then should be said of the website or blog is a popular blog.
Unlike the web owner who makes his web as a place to make money on the internet, alexa rank is very important. Why is it important? because the places to make money on the internet such as Text Link Advertisement, Sponsored Reviews, ReviewMe, Ask2link and webs of other money-making Alexa rank as a benchmark. The better alexa rank you have, it will be flocking also the advertisers who want to advertise on your website.
I myself use this alexa rank script to check the web at Flippa massively.
Here alexa rank checker script with PHP
$url = "http://data.alexa.com/data?cli=10&dat=snbamz&url=".$domain;
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $url);
$data = curl_exec($ch);
$xml = new SimpleXMLElement($data);
if($popularity = @$xml->xpath("//POPULARITY"))
$rank = number_format((string)$popularity['TEXT']);
$rank = 'N/A';
<tr><td>Domain name <br/><textarea name="url" rows="20" cols="30"></textarea></td></tr>
<tr><td ><input type="submit" value="Submit" name="submit" /></td></tr>';
echo $array[$i].' --> '.$A.'<br/>';
Okay, you can modify that alexa rank checker by your self, next time i will share how to check alexa site from flippa site. 🙂
Latest posts by Sigit Prasetya Nugroho (see all)
- How To Solve Problems Illegal mix of collations (latin1_swedish_ci,IMPLICIT) In Laravel - December 15, 2018
- Tutorial Create Todolist App With Vue Js 2 For Beginners - September 29, 2018