[PEPr] Comment on Database::Sqlite_Tools

From: Date: Sun, 04 Jul 2004 08:27:39 +0000
Subject: [PEPr] Comment on Database::Sqlite_Tools
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-31559@lists.php.net to get a copy of this message
Stephan Schmidt (http://pear.php.net/user/schst) has commented on the proposal for Database::Sqlite_Tools. Comment: Hi, I hardly recommend using XML_Parser or something similar for creating a database from a dump. sqlite supports databases up to 2 terabytes and this line will certainly reach the memory limit: $xmlText = file_get_contents( $xmlFile ); As your XML file will be a lot larger that the database... Using XML_Parser (or the xmlreader extension, if you stick to PHP5) will avoid this problem. Stephan Proposal information: http://pear.php.net/pepr/pepr-proposal-show.php?id=105 -- Sent by PEPr, the automatic proposal system at http://pear.php.net

« previous php.pear.dev (#31559) next »