如何让用户在线读取p7m文件

发布于 2024-11-03 07:15:27 字数 149 浏览 5 评论 0原文

我正在运行一个基于 php/mysql 的网站。 我已经让我的用户上传 p7m 文件(其中大多数是 pdf 数字签名)。 有没有一种解决方案可以让用户直接在现场(在线)观看而不需要下载?就像谷歌对 pdf 或 rtf 文件所做的那样?

谢谢你,

S。

i'm running a php/mysql based website.
I already let my users upload p7m files (most of them are pdf digital signed).
Is there a solution to let users watch them on site (online) directly without download them? Like google does with pdf, or rtf files?

Thank you

S.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

烟火散人牵绊 2024-11-10 07:15:27

如果这些文件只是 MIME blob,则提取主要部分并显示它(对于 text/plain 或 /html 内容)。任何现有的文件签名都不会影响显示。

关于可嵌入的 PDF 查看,这可能是一个足够的选项:
http://googlesystem.blogspot.com/2009/09/embeddable -google-document-viewer.html

If these files are just MIME blobs, then extract the main part and display it (for text/plain or /html content). Any existing file signature has no impact for displaying.

Regarding the embeddable PDF viewing, this is probably a sufficient option:
http://googlesystem.blogspot.com/2009/09/embeddable-google-document-viewer.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文