<!--Daily Traffic Rank Trend-->
<script language="JavaScript" type="text/javascript" src="http://xsltcache.alexa.com/traffic_graph/js/g/b/6m?&u=http%3A%2F%2Fwww.iteye.com+++++"></script>
<!--Daily Traffic Rank Trend-->
<img src="http://traffic.alexa.com/graph?&w=400&h=220&o=f&c=1&y=t&b=ffffff&r=1m&u=iteye.com&">
<!--Daily Reach in Percent-->
<img src="http://traffic.alexa.com/graph?&w=400&h=220&o=f&c=1&y=r&b=ffffff&r=1m&u=iteye.com&">
<!--Daily Page Views-->
<img src="http://traffic.alexa.com/graph?&w=400&h=220&o=f&c=1&y=p&b=ffffff&r=1m&u=iteye.com&">
<!--Daily Traffic Rank Trend--> <script language="JavaScript" type="text/javascript" src="http://xsltcache.alexa.com/traffic_graph/js/g/b/6m?&u=http%3A%2F%2Fwww.iteye.com+++++"></script> <!--Daily Traffic Rank Trend--> <img src="http://traffic.alexa.com/graph?&w=400&h=220&o=f&c=1&y=t&b=ffffff&r=1m&u=iteye.com&"> <!--Daily Reach in Percent--> <img src="http://traffic.alexa.com/graph?&w=400&h=220&o=f&c=1&y=r&b=ffffff&r=1m&u=iteye.com&"> <!--Daily Page Views--> <img src="http://traffic.alexa.com/graph?&w=400&h=220&o=f&c=1&y=p&b=ffffff&r=1m&u=iteye.com&">
Rank as per alexa.com:
<?php function AlexaRank( $url ) { preg_match( '#<POPULARITY URL="(.*?)" TEXT="([0-9]+){1,}"/>#si', file_get_contents('http://data.alexa.com/data?cli=10&dat=s&url=' . $url), $p ); return ( $p[2] ) ? number_format( intval($p[2]) ):0; } echo "Rank as per alexa.com: <br />"; $domains = array( 'google.com', 'qq.com', 'yahoo.com', 'bing.com' ); foreach ( $domains as $domain ) echo $domain, ' - ', AlexaRank( $domain ), '<br />', PHP_EOL; ?>
Google Inlinks amount
Google Backlinks amount
Yahoo Inlinks amount
Yahoo Backlinks amount
Alexa Ranking
<?PHP echo alexa('qq.com'); function googleindexed($domain) { $results=''; $query="http://www.google.com/search?q=site:".urlencode($domain).""; $results=file_get_contents($query); preg_match("/About (.+?) results/", strip_tags($results), $match); return (isset($match) && isset($match[1])) ? $match[1] : 0; } function googlebls($domain) { $results=''; $query="http://www.google.com/search?q=link:".urlencode($domain).""; $results=file_get_contents($query); preg_match('/<div id=resultStats>(.+?) result/ism', $results, $match); return (isset($match) && isset($match[1])) ? str_replace('About ','',$match[1]) : 0; } function yahooindexed($domain) { $results=''; $query="http://siteexplorer.search.yahoo.com/siteexplorer/search?ei=UTF-8&p=".urlencode($domain)."&bwm=p&bwms=p&searchbwm=Explore+URL"; $results=file_get_contents($query); preg_match("/Pages \((.+?)\)/", strip_tags($results), $match); @$matchtrimmed=array_walk($match,'trim_value'); return (isset($match) && isset($match[1])) ? trim(str_replace("about","",$match[1])) : 0; } function yahoobls($domain) { $results=''; $query="http://siteexplorer.search.yahoo.com/siteexplorer/search?ei=UTF-8&p=".urlencode($domain)."&bwm=p&bwms=p&searchbwm=Explore+URL"; $results=file_get_contents($query); preg_match("/Inlinks \((.+?)\)/", strip_tags($results), $match); return (isset($match) && isset($match[1])) ? trim(str_replace("about","",$match[1])) : 0; } function alexa($domain){ $results = ''; $query = 'http://www.alexa.com/siteinfo/'.$domain; $results=file_get_contents($query); preg_match('%<img src="/images/icons/globe-sm.jpg" alt="Global" style="margin-bottom:-2px;"/>(.+?)</div>%ism', $results, $match); return (isset($match) && isset($match[1])) ? trim($match[1]) : 0; } ?>