SimpleXMLElement not working on shared server

-HAZEL-EYES-

New Member
I am using the below code in one of my applications and need some specific data from a url.\[code\]$url = 'http://twitter.com/#!/rubarrichello';$sXML = new SimpleXMLElement($url, NULL, TRUE);$screen_name = $sXML->screen_name;\[/code\]I just need to fetch the value of \[code\]$screen_name\[/code\] from the \[code\]$sXML\[/code\] .this code works very well on my local server and not on the shared server, I have checked the php info file for libxml It reads so:\[code\]libXML support activelibXML Compiled Version 2.7.8libXML Loaded Version 20708libXML streams enabled\[/code\]My knowledge about \[code\]SimpleXMLElement\[/code\] is very limited . Can anyone guide me how to debug this?The version of PHP on the shared serve is 5.
 
Back
Top