文档章节

php 将base64解析成pdf

 奋斗的小鱼儿
发布于 2016/04/09 17:27
字数 390
阅读 116
收藏 0
<?php
 $a="JVBERi0xLjQKJeLjz9MKOSAwIG9iago8PC9UeXBlL1hPYmplY3QvUmVzb3VyY2VzPDwvUHJvY1NldFsvUERGL1RleHQvSW1hZ2VCL0ltYWdlQy9JbWFnZUldL0ZvbnQ8PC9GMSAxMCAwIFIvRjIgMTEgMCBSPj4+Pi9TdWJ0eXBlL0Zvcm0vQkJveFswIDAgODQxLjg5IDU5NS4yOF0vTWF0cml4WzEgMCAwIDEgMCAwXS9MZW5ndGggMjgwMy9Gb3JtVHlwZSAxL0ZpbHRlci9GbGF0ZURlY29kZT4+c3RyZWFtCnicrZldb1tHDobv9SsG2Ju0gE/m+8N3qZ1kUySN1/bWyba90DqyrUaWXFtpkH+/JGeOhpSVQAEWQdG8Ec9zZoYckjPnr4lWoYTBZnULf9VqMcneDLnwvzaDxeRmcjFZToz6PLHqZzD/c2K0ejP57Q+tPkz+oue1ur+e/HQ+efrCKGMGm9T5FTyBP+A/6KF4FVwZjFPn8MbBJR+jOr+cPPlRPTs9+uerX5+r47dH6scfzv8EIPzw/LzyrIpDio9wSQWbh2QaziSdCffLaq3WK/XfmZqu19PLm9kHlHfTy4/T6xmH06gHrV2xOHZr/ZCCCsHi224nNvkhpFEvNtrGIXjUzX7UNxMcIP7pC2HtEBwfubVh0PCQ0zSl28mBGXRdhouTd49GR+MqYOJU8OALg+PKeQgGtBlSgfc6bfEHocsoUeSqYCCoQiClk7rsj+ohGvjVDLE6KZOwhYRzZGoGY0hr/FUjPbg8xEC2OYwKbdPg46gXW9rpPLhYX4OkQlwYQsFHwbMGxuDt4Og3O07c6TCEjbrcWpYFLL7NacBReBwhrFOx6Bgik79KHrLhuqB5lSh8qSuRSZn6m7X0rvooDBm8hso6mk5BlXAeqHwm2zQkktbTjw5/TPg8Puj9qHCd4pDdqBekcfIu4nI67YacxvngkGgIpC7lZHH2zsTBmxF2C9oNMXULh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wMDAwMCBuIAowMDAwMDAwMDE1IDAwMDAwIG4gCjAwMDAwMDMwNTAgMDAwMDAgbiAKMDAwMDAwMzE0NCAwMDAwMCBuIAowMDAwMDA4NDQ1IDAwMDAwIG4gCjAwMDAwMDg0OTEgMDAwMDAgbiAKdHJhaWxlcgo8PC9Sb290IDEyIDAgUi9JRCBbPDE1Y2E1MTQ4ZjU1MWQ3Y2VhNjFlMTNhNDYzMDc3ZjI3PjxmYmVkZjBmMWU5ZDU1ZDA0ODQxMjhiZGYxMzIwNDQ1Nj5dL0luZm8gMTMgMCBSL1NpemUgMTQ+PgpzdGFydHhyZWYKODYwMgolJUVPRgo=";
$img = base64_decode($a);
$a = file_put_contents('./test.pdf', $img);//返回的是字节数  //放置路径的文件名后缀可跟需求改变而改变
print_r($a);


本文转载自:http://www.cnblogs.com/jiqing9006/p/3910847.html

粉丝 0
博文 11
码字总数 1017
作品 0
宝坻
程序员
私信 提问
IKEA官网本地文件包含(LFI)漏洞分析

     背景   通过本地文件包含(Local File Inclusion)攻击,攻击者可以对服务器进行欺骗,使其共享不公开的文件,而不公开的文件中可能会包含网站的配置、日志和源代码文件。甚至有时...

嘶吼RoarTalk
2018/09/24
0
0
为 PDF 文档添加签名的 JavaScript 库--PDFSign.js

PDFSign.js 是一个用于在浏览器中签名 PDF 文档的 JavaScript 库。签名只在浏览器中进行,且不会通过网络发送私钥或密码。 API 非常简单: signed-pdf = PDFSIGN.signpdf(pdf, p12-cert, p1...

匿名
2017/02/20
818
0
PHP解析PDF转换成在线文档

情况:一个PHP的WEB项目,需要提供PDF的在线预览。 我的想法:考虑到网站本身不是大网站,流量有限,所以想要使用php解析pdf,然后将其转换成imges这种格式,下面就好办了。js控制相关页面对...

繁华似水
2011/09/08
4.4K
8
eclipse的IDE拖拽开发WEB开发指南

html5的canvas可以对元素进行截图,我的个XX啊这么牛逼的吗?事实证明我确实是个啥子,去成都参加一个外包增援项目的时候有这个需求,要求报表转pdf,于是就接触到了这个技术,然后我看到了,...

快速开发师
2018/08/28
613
1
Echarts地图在IE下导出图片不完全

我需要做一个将报表导出PDF的功能,饼图,折线图,柱状图都没问题,就是地图不行,我的具体做法是先在前台获得地图的base64然后传到后台然后编译成图片,在火狐下生成的地图的图片没有问题,但是IE下...

为情而生
2014/10/21
649
1

没有更多内容

加载失败,请刷新页面

加载更多

Hibernate 5 的模块/包(modules/artifacts)

Hibernate 的功能被拆分成一系列的模块/包(modules/artifacts),其目的是为了对依赖进行独立(模块化)。 模块名称 说明 hibernate-core 这个是 Hibernate 的主要(main (core))模块。定义...

honeymoose
46分钟前
4
0
CSS--属性

一、溢出 当内容多,元素区域小的时候,就会产生溢出效果,默认是纵向溢出 横向溢出:在内容和容器之间再套一层容器,并且内部容器要比外部容器宽 属性:overflow/overflow-x/overflow-y 取值...

wytao1995
今天
4
0
精华帖

第一章 jQuery简介 jQuery是一个JavaScript库 jQuery具备简洁的语法和跨平台的兼容性 简化了JavaScript的操作。 在页面中引入jQuery jQuery是一个JavaScript脚本库,不需要特别的安装,只需要...

流川偑
今天
7
0
语音对话英语翻译在线翻译成中文哪个方法好用

想要进行将中文翻译成英文,或者将英文翻译成中文的操作,其实有一个非常简单的工具就能够帮助完成将语音进行翻译转换的软件。 在应用市场或者百度手机助手等各大应用渠道里面就能够找到一款...

401恶户
今天
3
0
jenkins 插件下载加速最终方案

推荐做法 1、告诉jenkins 我哪些插件需要更新 jenkins插件清华大学镜像地址 https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json 1.进入jenkins系统管理 2.进入插件管...

vasks
今天
7
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部