Demonic Posted March 9, 2008 Share Posted March 9, 2008 I was wondering this because at the moment using simplexml_load_file makes my script go at about 2 seconds per page load, in a loop. Then I created a cache system so it doesn't keep loading the xml file, but I'm wondering if theres a faster way to load xml QUICKER, is it possible with "file_get_contents" and "simplexml_load_string" ? Quote Link to comment Share on other sites More sharing options...
westminster86 Posted March 9, 2008 Share Posted March 9, 2008 simplexml_load_string does exactly what it says, its loads a specified string into an object. So if your wanting to load an xml file this isnt going to be of much help. Are u using the whole xml file, or wanting specific elements from the file? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.