Hi,

I am having a issue with the following code

PHP Code:
<?php


$url 
'http://api.tumblr.com/v2/blog/myblog.tumblr.com/info?api_key=01010010100101';


if( ! 
$xml simplexml_load_file($url) ) 
    { 
        echo 
'unable to load XML file'
    } 
    else 
    { 
        echo 
'XML file loaded successfully'
    } 
?>

I keep getting the message "unable to load XML file" no matter how I try different approaches to make the code work.

Anyone could give me a little help ?

Thanks in advance