Tag: 拉链

使用PHP生成OpenDocument Spreadsheets

我正在尝试使用PHP生成OpenDocument Streadsheets。 这是我的代码: $content_xml = '<?xml version="1.0" encoding="UTF-8"?><office:document-content …'; $file = 'spreadsheet.ods'; // this one is beeing generated. It is not existent yet… $zipfile = 'container.zip'; // this one already exists. It's in the same directory // this script is in. I created the container.zip by unziping a usual .ods file, // removing the content.xml […]