Wir erstellen docx-Dokumente mit folgender Funktion:
require ('grabzit / lib / GrabzItClient.class.php');
// require ("grabzit / config.php");
$ grabzIt = new GrabzItClient ("... xxx ...");
$ grabzIt->HTMLtoDOCX("einige Inhalte hier");
Header ('Content-Type: application / octet-stream');
Header ('Content-Disposition: Anhang; Dateiname = "'. $ GLOBALS {TSFE} -> id. '. docx"');
$ GLOBALS ['TSFE'] -> content = $ grabzIt->SaveTo();
Dokumente sind saved aber wenn ein docx geöffnet wird, zeigt Word "Fehler beim Öffnen des Dokuments ..."
Was kann falsch sein?