אנו יוצרים מסמכי docx עם הפונקציה הבאה:
דורש ('grabzit / lib / GrabzItClient.class.php');
// דורשים ("grabzit / config.php");
$ grabzIt = GrabzItClient חדש ("... xxx ...");
$ grabzIt->HTMLtoDOCX("קצת תוכן כאן");
כותרת ('סוג תוכן: יישום / זרם אוקט');
כותרת ראשית ('Content-Disposition: attachment; filename = "'. $ GLOBALS {TSFE} -> id. '. docx"');
$ GLOBALS ['TSFE'] -> content = $ grabzIt->SaveTo();
המסמכים הם saveד אך כשנפתח docx Word מראה "שגיאה בעת פתיחת המסמך ..."
מה יכול להיות לא בסדר?