自动将 excel xls 文件转换为 excel xml
我有一个网页,用户可以在其中上传 xls 文件。当他上传文件时,我想自动将excel文件转换为excel xml。我想将其转换为 xml 文件,因为我认为处理数据会很容易。 是否可以编写我自己的 php 函数来做到这一点?
I have a web page where a user can upload xls files. When he uploads a file, i want to automate converting the excel file to excel xml. I want to convert it to an xml file as i think it will be easy to handle the data.
Is it possible to write my own php function to do that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
让我看看我是否理解。您要读取 XLS 文件,将其写为 XLSX,然后读入 XLSX?
为什么不首先处理 XLS 呢?
Let me see if I understand. You're going to read a XLS file, write it out as XLSX, then read in the XLSX?
Why not just deal with the XLS in the first place?