Employ a dedicated XML library to write XML files

This commit is contained in:
2019-09-30 21:18:04 +02:00
committed by Stefan Rohde-Enslin
parent 52878fee92
commit 1eb21bfc54
5 changed files with 66 additions and 45 deletions

View File

@ -8,7 +8,6 @@ $fileDir = 'xml/';
$zip = new Zip();
//$zip->setComment("Example Zip file.\nCreated on " . date('l jS \of F Y h:i:s A'));
//$zip->addFile("Hello World!", "hello.txt");
if ($handle = opendir($fileDir)) {
/* This is the correct way to loop over the directory. */