Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/amazon-s3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 当我从s3 bucket中获取文件时,我可以在html页面中下载,但无法查看pdf文件_Php_Amazon S3 - Fatal编程技术网

Php 当我从s3 bucket中获取文件时,我可以在html页面中下载,但无法查看pdf文件

Php 当我从s3 bucket中获取文件时,我可以在html页面中下载,但无法查看pdf文件,php,amazon-s3,Php,Amazon S3,我想使用iframe/embed标记在html中查看S3 bucket中的pdf文件 我在iframe标签中得到了结果 src=”http://docs.google.com/gview?url=/path 到文件/filename.pdf&embedded=true“style=“宽度:600px;高度:500px;”frameborder=“0”

我想使用iframe/embed标记在html中查看S3 bucket中的pdf文件

我在iframe标签中得到了结果 src=”http://docs.google.com/gview?url=/path 到文件/filename.pdf&embedded=true“style=“宽度:600px;高度:500px;”frameborder=“0”