PHP Script to get Alexa Rank-
Hello Friends Ajj Me Apko Btaunga Ki Kis Prakar Ham Alexa Rank Checker Tool Bana Sakte Hai.Alexa Rank Checker Tool Ke Madad Se Hm Kisi Be Website Ka Url Enter Karke Us Website Ki Alexa Rank Check Kar Sakte Hai.
How To Fetch Alexa Ranking With Php-
Alexa Rank Checker Tool Advantages-
1-Agar Ye Tool Apki Website Me Hoga To Apko Kisi Dusre Website Par Apni Website Ki Alexa Rank Check Karne Ke Liye Nhi Jana Hoga Aap Apne Website Par He Is Tool Se Apni Website Ki Alexa Rank Check Kar Sakte Ho
2-Aap Apne Competitors Ki Website Ki Alexa Rank Be Check Kar Sakte Ho
3-Ise Use Karna Bhut Easy Hai
4-Ye Fastly Work Karta Hai.
Language Used-
1-Html –Yanha Html Ka Use Karke Ham Front End Means Form Bnayege Janha User Url Dalega
2-Php-Php Ka Use Karke Ise Dynamic Bnaya Hai
3-Css- Css Ka Use Karke Isme Thodi Styling Ki Hai Aap Bootstrap Ka Use Karke Ise Mobile Responsive Be Bana Sakte Ho
Index.php----
<html>
<head>
<style>
#logo{
color:red;
padding-right:1300px;
}
#box{
color:red;
size:20px;
}
.button {
background-color: #4CAF50; /* Green */
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
-webkit-transition-duration: 0.4s; /* Safari */
transition-duration: 0.4s;
}
.button2:hover {
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
}
</style>
</head>
<body>
<center>
<h1> Alexa Rank Checker Tool</h1><center>
<center>
<div id="logo"><img src="alexa.png" height="200px" width="200px"/>
<h2>Domains/URLs:</h2> </div>
<form action="" method="POST">
<div id="box">
<textarea rows="10" cols="180" name="url" >
</textarea>
</div>
<br>
<br>
<br>
<input class="button button2" type="submit" name="submit" value="Go"/>
</form>
</body>
</html>
<?php
if(isset($_POST['submit']))
{
$url=$_POST['url'];
$xml = simplexml_load_file('http://data.alexa.com/data?cli=10&dat=snbamz&url='.$url);
$rank=isset($xml->SD[1]->POPULARITY)?$xml->SD[1]->POPULARITY->attributes()->TEXT:0;
$web=(string)$xml->SD[0]->attributes()->HOST;
echo $web." has Alexa Rank ".$rank;
}
?>
</center>
</div>
</body>
</html>
Aap Niche Diye Gye Link Se Demo Check Kar Sakte Ho Is Tool Ki
Is Parkar Aap Easily Alexa Rank Checker Tool Bana Sakte Ho Apne Website Ke Liye.
Me Ummid Karta Hu Ki Apko Mere Ye Post Achi Lagi Hogi Agar Koi Problem A Rhe Hai To Aap Comment Me Puch Sakte Ho
Thank You
Team Gajabwap Web In Hindi
4 comments
Click here for commentsbhai aap apne blog par jaha bhi click karta hu to new page open hokar ads chalu hote hai...
Replynice post sir this tool is working fine thanks for code my broooooooo
ReplyThanks bro. ...........
Reply.
Brother an mene error ko fix kar diya hai ab apko advertising ki problem Show nhi hogi
ReplyConversionConversion EmoticonEmoticon