嵌入在php页面中的Excel [英] Excel embedded in a php page

查看:119
本文介绍了嵌入在php页面中的Excel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个客户希望能够嵌入Excel文档(该文档当前与HTML文档位于同一服务器上),就像您将Flash应用程序嵌入页面一样.

I have a client who wants to be able to embed an Excel document (one that is currently sitting on the same server as the HTML document) like how you would embed a Flash app on a page.

我正确地假设这是不可能的,对吗?请确认/拒绝,以便我们可以继续进行下去,因为他似乎认为这是可能的.不幸的是,我们使用的是LAMP设置,所以没有.NET技巧.

I'm correct in assuming this is not possible, right? Please confirm/deny so we can hopefully move on from this because he seems to think this is possible. We are on a LAMP setup so no .NET tricks, unfortunately.

推荐答案

您是正确的-至少不能跨浏览器完成.您应该只链接到Excel电子表格文件.

You are correct - at least, it can't be done cross-browser. You should just link to the Excel spreadsheet file.

或者,如果您只需要显示数据,我确定您可以找到一个PHP库,该库将读取Excel文件并将其内容显示在HTML表中.

Alternatively, if you only need to display the data, I'm sure you can find a PHP library that will read Excel files and display their contents in a HTML table.

这篇关于嵌入在php页面中的Excel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆