Being short on time I have incorporated it into my site. Once everything is in an array using the XML_unserialize function I can manipulate the data for pagination and search purposes.
I just finished up all my processing code and it all works exactly as it should using the XML document that my client supplied.
Today I got the latest version of the document, only this time it weighs in at nearly 6Mb and none of my pages work any more.
The data structure is identical, there's just too much of it now.
Code: Select all
<?
$rawXML = file_get_contents("./xmldata/13Aug2004_CDE.xml");
// echo $rawXML; //this contains all the file data and is confirmed to be correct
$dataArray = XML_unserialize($rawXML);
// this does not work any more.
?>I just don't know how to get all the data into one array any more or if 6Mb is considered too large to do this kind of thing to anyway, and if so how to get around the limitation.