php – Get domain age and alexa rank from javascript-ThrowExceptions

Exception or error:

I want to get Alexa rank in my clientside, but I don’t know the proper way to do it. while running localhost it working, when using on my hosted website its not.

PHP code:

$xml = simplexml_load_file('');
echo $web." has Alexa Rank ".$rank;
How to solve:

Leave a Reply

Your email address will not be published. Required fields are marked *