在PHP中读取Excel文件 [英] Reading an Excel file in PHP
问题描述
我正在尝试读取Excel文件(Office 2003).有一个Excel文件需要上传并对其内容进行解析.
I'm trying to read an Excel file (Office 2003). There is an Excel file that needs to be uploaded and its contents parsed.
通过Google,我只能找到以下相关(且主题不足)的答案:生成Excel文件,读取Excel XML文件,读取Excel CSV文件或不完整的废弃项目.我拥有Office 2003,因此如果我需要那里的任何文件,都可以使用它们.它已安装在我的盒子上,但尚未安装,也无法安装在我的共享主机上.
Via Google, I can only find answers to these related (and insufficient topics): generating Excel files, reading Excel XML files, reading Excel CSV files, or incomplete abandoned projects. I own Office 2003 so if I need any files from there, they are available. It's installed on my box but isn't and can't be installed on my shared host.
到目前为止,所有答案均指向 PHP-ExcelReader 和/or <有关如何使用它的此其他文章
so far all answers point to PHP-ExcelReader and/or this additional article about how to use it.
推荐答案
我使用 PHP-ExcelReader 读取xls文件,效果很好.
I use PHP-ExcelReader to read xls files, and works great.
这篇关于在PHP中读取Excel文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!