在浏览器中查看PDF报告 [英] View PDF reports in a browser

查看:141
本文介绍了在浏览器中查看PDF报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我正在研究pdf格式的报告,并且我想要一种将PDF报告保留在浏览器中的方法,以便用户只能查看它.并且无法下载副本.我正在使用php.拜托,我需要一种解决方法.谢谢.如果PDF不是保存我的东西的最佳格式..请提出一种防止我的报告被下载的方法..

Hi, I have worked on a report in a pdf format, and I want a way to keep the PDF report in a browser so the users can only view it. And can''t download a copy. I am using php. Please, I need a way around this. thank you.if the PDF is not the best format to keep my stuff ..please suggest a way to keep my reports safe from download..

推荐答案

用户无法查看网页中的某些内容,也无法以某种方式访问​​它.但是,您可以使用带有response.write的PHP等价物将PDF向下推送,然后它将在他们的浏览器中打开,这是嵌入式查看器是否具有保存按钮的问题(但我确定是的) .
There is literally no way for users to view something in a web page, and not be able to access it in some way. However, you can push a PDF down with the PHP equivelant of a response.write, and it will open in their browser, then it''s a question of if the embedded viewer has a save button ( but I feel sure that it does ).


这篇关于在浏览器中查看PDF报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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