How to read XML Document using the XML Parser extension in PHP

With XML Parser, you use callback functions to deal with specific events such as when the start or end of an XML element is encountered. These functions are registered using API functions made available for the XML Parser extension and are triggered or executed when a specific event is encountered. Also, you can only read XML with this extension. Continue Reading


How to Zip a file or the contents of a Directory in PHP

Background This article demonstrates how to archive the contents of a directory in PHP using ZipArchive class. Software Requirements Windows 7 Professional SP1 PHP 5.5.9 / Zend Engine v2.5.0 NetBeans IDE 8.0.1 Zip a file

Zip a Directory

Continue Reading