如何使用Zend框架读取Excel文件?

时间:2022-06-11 05:41:51

How can I read an Excel file using Zend framework?

如何使用Zend框架读取Excel文件?

5 个解决方案

#1


6  

Try PHPExcel (http://phpexcel.codeplex.com/) you can write to and read from different file formats, like Excel 2007, PDF, HTML,

试试PHPExcel(http://phpexcel.codeplex.com/),你可以写入和读取不同的文件格式,如Excel 2007,PDF,HTML,

#2


1  

There is no library in Zend Framework (currently v1.10) which can read or write Microsoft Excel files. There is only a Zend_Service to read Google Spreadsheets. You can use PHPExcel like Lucas suggested or use the PEAR package. Because Zend Framework is a glue framework, you can use both side by side with ZF.

Zend Framework(目前为v1.10)中没有可以读取或写入Microsoft Excel文件的库。只有Zend_Service才能阅读Google Spreadsheets。您可以像Lucas建议的那样使用PHPExcel,也可以使用PEAR包。因为Zend Framework是一个粘合框架,所以你可以和ZF并排使用。

#3


0  

There's a fairly good article on this precise subject within the Zend developer zone - "Reading and Writing Spreadsheets with PHP".

在Zend开发人员专区中有一篇关于这个精确主题的相当好的文章 - “用PHP阅读和编写电子表格”。

That said, you're likely to need some additional PEAR modules, although that's a fairly low entry requirement it has to be said.

也就是说,你可能需要一些额外的PEAR模块,尽管这是一个相当低的入门要求。

#4


0  

If you want to use PHPExcel, here is something to get you started

如果您想使用PHPExcel,可以使用以下内容

The only other resources I am using at the moment are its documentation. Not much info on the web.

我目前使用的唯一其他资源是其文档。网上信息不多。

#5


0  

The Google Spreadsheets data API allows client applications to view and update Spreadsheets content in the form of Google data API feeds. Your client application can request a list of a user's spreadsheets, edit or delete content in an existing Spreadsheets worksheet, and query the content in an existing Spreadsheets worksheet.

Google Spreadsheets数据API允许客户端应用程序以Google数据API供稿的形式查看和更新​​电子表格内容。您的客户端应用程序可以请求用户电子表格的列表,编辑或删除现有电子表格工作表中的内容,并查询现有电子表格工作表中的内容。

#1


6  

Try PHPExcel (http://phpexcel.codeplex.com/) you can write to and read from different file formats, like Excel 2007, PDF, HTML,

试试PHPExcel(http://phpexcel.codeplex.com/),你可以写入和读取不同的文件格式,如Excel 2007,PDF,HTML,

#2


1  

There is no library in Zend Framework (currently v1.10) which can read or write Microsoft Excel files. There is only a Zend_Service to read Google Spreadsheets. You can use PHPExcel like Lucas suggested or use the PEAR package. Because Zend Framework is a glue framework, you can use both side by side with ZF.

Zend Framework(目前为v1.10)中没有可以读取或写入Microsoft Excel文件的库。只有Zend_Service才能阅读Google Spreadsheets。您可以像Lucas建议的那样使用PHPExcel,也可以使用PEAR包。因为Zend Framework是一个粘合框架,所以你可以和ZF并排使用。

#3


0  

There's a fairly good article on this precise subject within the Zend developer zone - "Reading and Writing Spreadsheets with PHP".

在Zend开发人员专区中有一篇关于这个精确主题的相当好的文章 - “用PHP阅读和编写电子表格”。

That said, you're likely to need some additional PEAR modules, although that's a fairly low entry requirement it has to be said.

也就是说,你可能需要一些额外的PEAR模块,尽管这是一个相当低的入门要求。

#4


0  

If you want to use PHPExcel, here is something to get you started

如果您想使用PHPExcel,可以使用以下内容

The only other resources I am using at the moment are its documentation. Not much info on the web.

我目前使用的唯一其他资源是其文档。网上信息不多。

#5


0  

The Google Spreadsheets data API allows client applications to view and update Spreadsheets content in the form of Google data API feeds. Your client application can request a list of a user's spreadsheets, edit or delete content in an existing Spreadsheets worksheet, and query the content in an existing Spreadsheets worksheet.

Google Spreadsheets数据API允许客户端应用程序以Google数据API供稿的形式查看和更新​​电子表格内容。您的客户端应用程序可以请求用户电子表格的列表,编辑或删除现有电子表格工作表中的内容,并查询现有电子表格工作表中的内容。