How do I code something like this
Collapse
X
-
Tags: None
-
Probably something like this:
<?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 "wordpressapi.com/files/ Rank as per alexa.com: ";
echo AlexaRank('wordpressapi.com/files/');
?>
<?php
$domains = array( 'site1.com', 'site2.com', 'site3.com', 'site4.com' );
foreach ( $domains as $domain )
echo $domain, ' - ', AlexaRank( $domain ), '<br />', PHP_EOL;
?>
Source: http://wordpressapi.com/2010/02/19/a...king-php-code/
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.

I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
-
-
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.

I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Comment
-
-
Comment
-
Edit: Go fuck yourself
Alexa IS fucking pointlessLast edited by Colmike9; 10-28-2012, 09:55 PM.
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.

I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Comment
-
-
Comment
-
Exactly. The only sites that might have a use for Alexa are the one's with huge traffic. Most other ones are manipulated with shit like Fiverr and Alexa toolbars.
I thought I was agreeing with Harmon, the fuck is wrong with him/her?..
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.

I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Comment
-
I thought you two must have history, but didn't want to ask/get involved. Quite a strong reaction. Maybe he thought you were being sarcastic.Comment
-
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.

I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Comment
-
-
-
Comment




Comment