位置: 编程技术 - 正文

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函数

  • 申报表货物及劳务是什么
  • 建筑类企业是否允许留抵
  • 火车票丢失可以抵扣进项税额
  • 煤矿企业维简费税务规定
  • 怎么分清复利和年金
  • 房地产公司工程管理制度
  • 企业出售产品
  • 房地产预交税金及附加要计提吗
  • 销售货物的运输费用计入成本吗知乎
  • 怎么查询发票记录
  • 工程款发票备注栏必须填写吗
  • 定期定额户需要自己申报吗
  • 计提工资多计提,如何做冲销
  • 购入低值易耗品计入什么科目
  • 根据规定签发汇票凭证必须记载的事项有
  • 一般纳税人汇算清缴操作流程
  • 生产车间购入材料会计分录
  • 主合同变更对保险的影响
  • 生产废料怎么处理会计分录
  • 联想e430安装win7
  • 微软输入法繁体字变简体字
  • Mac如何开启无痕浏览
  • 核定征收的企业怎么交所得税
  • 什么是现金解款支付
  • 境外汇款犯法吗
  • linux网络接口状态命令
  • php 智能家居
  • update-initramfs -u命令
  • php新版本特性
  • 员工食堂买菜
  • 确认应付职工薪酬如何计算
  • python统计字符串长度
  • 会计怎么计算
  • 工伤事故赔偿款分配
  • python3 zipfile模块
  • 发票没拿回来可以报销吗
  • 员工在其他公司担任股东,违法吗
  • jdbc描述
  • 企业交房租没有发票能充费用吗
  • 成立一般纳税人的利弊
  • linux mysql 找回密码
  • 使用SQL语句创建一个名为:bookdb的数据库
  • 商家的这些行为对消费者的购买行为有什么影响
  • 核定征收一般纳税人进项是否可抵扣
  • 房地产公司收到客户违约金会计科目
  • 资本公积怎么计提
  • 独立法人的全资子公司
  • 转账支付水电费
  • 不征收耕地占用税的是
  • 劳务外经证预缴税款
  • 营改增后增加了什么征税项目
  • 外贸公司是不是什么都做的?
  • 无形资产当月减少当月计提吗
  • 支付货款退回如何处理
  • 付款申请单如何生成凭证
  • 高新企业研发费用会计分录
  • 企业亏损净资产降低吗
  • 收到土地使用权计入什么科目
  • 本月增加无形资产什么时候计提折旧
  • 暂估入库的商品可以结转成本吗?
  • 预付账款的相关认定
  • 企业的利润怎么提出来
  • 资产季末值
  • 合伙 利润分配
  • 工业企业接受捐赠收入计入
  • mac10.15系统
  • macos怎么使用
  • 电脑的本地连接在哪win10
  • 如何打开音量控制器
  • js基于贪心算法实验报告
  • 批处理教程(最全版).pdf免费
  • div+css网页布局方法
  • 用jquery制作网页
  • stick function
  • 文章标题的作用有哪些?
  • bootstrap学习
  • 软件开发交流平台
  • 赞美税务工作者的诗句
  • 国家税务总局随州市税务局稽查局
  • 我国近十年财政支出结构占比
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设