会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Tiac
博客园
首页
新随笔
联系
订阅
管理
2017年1月9日
php 获取图片base64编码格式数据
摘要: $image_file = '1.jpg'; $image_info = getimagesize($image_file); $base64_image_content = "data:{$image_info['mime']};base64," . chunk_split(base64_encode(file_get_content...
阅读全文
posted @ 2017-01-09 16:22 Tiac
阅读(6053)
评论(3)
推荐(0)
公告