On Wednesday 18 July 2007, Ross wrote: > $data = simplexml_load_string(file_get_contents($url)); > > Is there a php4 version of this or does this only work in 5? How can I get > around it? There might be a user-space generic XML parser available somewhere, but nothing that will map directly to SimpleXML. SimpleXML uses language features that don't exist in PHP 4. The best answer is to use PHP 5 and let PHP 4 die a respectable death, as most of the world seems to have decided to do[1]. [1] http://gophp5.org/ -- Larry Garfield AIM: LOLG42 larry@xxxxxxxxxxxxxxxx ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php