Decapode Azur wrote:

What is the best one for large files? (something about 8Mo)


Parse with SAX, use printf to produce output.



Ok, it seems this method is defenitly a good one. I was wondering if it was a good one too, to read the XML file with fgets, and using ereg fonctions to make the modifications?



If you have only a 2-3 tags you might find it easy but beyond that you code will end up looking like a sax parser's source code.



--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/         | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 150 KB | with progress bar.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to