XML parsing in php : Simple_xml_loadfile function runs forever

tlovev

New Member
I am having a problem with parsing an API which was working fine till yesterday! The code snippet : \[code\]$checkurl = "http://api1.webpurify.com/services/rest/?method=webpurify.live.check&api_key=&text=".urlencode('test test test');$response = simplexml_load_file($checkurl,'SimpleXMLElement', LIBXML_NOCDATA);\[/code\]The problem is \[code\]simplexml_load_file()\[/code\] is not returning any value and loads forever!!Any clue as to what is happening?
 
Back
Top