Welcome to WebmasterWorld Guest from 22.214.171.124
Lets assume an xml file is close to 1mb, when the function is used, is the entire file loaded into memory? Meaning 1mb of storage is taken while this function is running?
Now assume 30 users all request the same page which uses the simplexml_load_file function to load the 1mb xml file, are 30 mb on the server then set aside and locked?
Guess I am asking if this is a worthy cause to investigate storing alot of data in these xml files and writing the program around reading from these files rather than a database.
Thanks for the overview response!
As for your initial question, I am not exactly sure what it would do in that case; you should run a quick test to find out.
I figured a good way to proceed might be to store this information in XML, have the script parse and use data from the XML. When a change occurs with the data a python script could re-write the XML.
The large XML files occur when a summary of all the data sets are compiled.