位置: 编程技术 - 正文

PHP:iconv_mime_decode()的用法_iconv函数

编辑:rootadmin
iconv_mime_decode

推荐整理分享PHP:iconv_mime_decode()的用法_iconv函数,希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:,内容如对您有帮助,希望把文章链接给更多的朋友!

(PHP 5)

iconv_mime_decode — Decodes a MIME header field

说明 string iconv_mime_decode ( string $encoded_header [, int $mode = 0 [, string $charset = ini_get("iconv.internal_encoding") ]] )

Decodes a MIME header field.

参数

encoded_header

The encoded header, as a string.

mode PHP:iconv_mime_decode()的用法_iconv函数

mode determines the behaviour in the event iconv_mime_decode() encounters a malformed MIME header field. You can specify any combination of the following bitmasks. Bitmasks acceptable to iconv_mime_decode() Value Constant Description 1 ICONV_MIME_DECODE_STRICT If set, the given header is decoded in full conformance with the standards defined in »RFC. This option is disabled by default because there are a lot of broken mail user agents that don&#;t follow the specification and don&#;t produce correct MIME headers. 2 ICONV_MIME_DECODE_CONTINUE_ON_ERROR If set, iconv_mime_decode_headers() attempts to ignore any grammatical errors and continue to process a given header.

charset

The optional charset parameter specifies the character set to represent the result by. If omitted, iconv.internal_encoding will be used.

返回值

Returns a decoded MIME field on success, or FALSE if an error occurs during the decoding.

范例

Example #1 iconv_mime_decode() example

<?php//Thisyields"Subject:PrüfungPrüfung"echoiconv_mime_decode("Subject:=?UTF-8?B?UHLDvGZ1bmcgUHLDvGZ1bmc=?=",0,"ISO--1");?>

参见

iconv_mime_decode_headers() - 一次性解码多个 MIME 头字段 mb_decode_mimeheader() - 解码 MIME 头字段中的字符串 imap_mime_header_decode() - Decode MIME header elements imap_base() - Decode BASE encoded text imap_qprint() - Convert a quoted-printable string to an 8 bit string

PHP:iconv_mime_decode_headers()的用法_iconv函数 iconv_mime_decode_headers(PHP5)iconv_mime_decode_headers一次性解码多个MIME头字段说明arrayiconv_mime_decode_headers(string$encoded_headers[,int$mode=0[,string$charset=ini_get(iconv.internal

PHP:unlink()的用法_Filesystem函数 unlink(PHP4,PHP5)unlink删除文件说明boolunlink(string$filename[,resource$context])删除filename。和UnixC的unlink()函数相似。发生错误时会产生一个E_WARNING级别的错误。参

PHP:unlink()的用法_Filesystem函数 unlink(PHP4,PHP5)unlink删除文件说明boolunlink(string$filename[,resource$context])删除filename。和UnixC的unlink()函数相似。发生错误时会产生一个E_WARNING级别的错误。参

标签: PHP:iconv_mime_decode()的用法_iconv函数

本文链接地址:https://www.jiuchutong.com/biancheng/285163.html 转载请保留说明!

上一篇:PHP:iconv_get_encoding()的用法_iconv函数

下一篇:PHP:iconv_mime_decode_headers()的用法_iconv函数

  • 增值税的计税依据包括
  • 加油卡充值可以退吗
  • 非盈利机构怎么说
  • 备用金每个月可以用几次
  • 个体工商户能否转让
  • 专票未认证是什么意思
  • 公司清算后未处理财产
  • 小规模纳税人普通发票可以抵税吗
  • 分公司如何缴纳企业所得税
  • 印花税计提多了怎样更正
  • 搅拌站是自用的账务如何做分录?
  • 外汇收支申报流程
  • 应交增值税减免税款账务处理
  • 教育附加费的计算方法
  • 给职工买的意外险怎么做账
  • 月工资3000元,工伤7级能赔偿多少钱
  • 企业进项发票如何做账
  • 应收账款转让的会计处理
  • 公司制作小程序定金能放在图物资吗
  • 公司帮个人代缴社保会计分录
  • 补缴员工社保银行怎么查
  • 固定资产盘亏盘盈账务处理
  • 公积金可以在个税前全额扣除吗
  • 企业类型主要有
  • 高新技术企业研发人员比例要求
  • 购买理财产品收到的利息分录
  • 企业自建廉租房政策
  • php解析html文件
  • 前端向后端传值的函数
  • 净资产和净利润一样吗
  • 回迁房办产权证的时候需要交多少钱
  • thinkphp with
  • php 图片
  • 利用php判断文件是否存在
  • js鼠标事件包括哪几种
  • 设置背景图片大小和元素的大小一致的代码
  • php判断useragent
  • php判断用户是否登录
  • 小企业会计准则会计科目表
  • 复式记账法会计名词解释
  • 顶账用什么东西顶好
  • 商业承兑汇票如何查询
  • 管理成本分摊比例是多少
  • 当月销售次月开票就按次月申报
  • 织梦自定义字段
  • 紫白择日法实例详解
  • 没有开具发票的收入如何入账?
  • 企业固定资产纳税
  • 应交增值税转入未交增值税怎么算
  • 土地增值税间接转让怎么算
  • 待报解啥意思
  • 进口报关费入什么科目
  • 销售折让如何做分录
  • 销售退款现金流量表
  • 附加税的计税依据是增值税实际缴纳税款吗
  • 社保费和公积金计提分录
  • 记账凭证应交税费填写样本图片
  • 结账后发现期间损益结转的凭证做错
  • 事业单位预收账款转收入如何做账
  • 返聘退休人员工资标准
  • 印花税税款所属期怎么填
  • 总分类账户与明细分类账户是对账户按照其
  • sql语句训练题及答案
  • windows xp怎么打开
  • VISTA 下如何通过红外线连接外接设备 以索尼手机为例
  • win7系统防火墙无法关闭
  • win7浏览器怎么升级到最新版
  • 十大经典排序算法总结
  • js原型继承和构造继承
  • 如何设置div自适应宽度
  • system命令行
  • node发送邮箱
  • unity简单项目
  • jQuery webuploader分片上传大文件
  • javascript内置对象window
  • node. js教程
  • 怎么用python做爬虫
  • 微信气泡png
  • 电子税务局待确认授权不能勾选
  • 房地产预缴土增值税
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

    网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

    友情链接: 武汉网站建设