位置: 编程技术 - 正文

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

  • 不含税买货合法吗
  • 长期股权投资中应采用成本法核算的是
  • 用库存现金支付职工医药费用69元会计人员编制的
  • 已抵扣发票冲红会计分录
  • 公司给员工报销话费怎么做账
  • 收到政府给的公维基金怎么开票报销
  • 预收账款和预付账款什么时候用
  • 特许权使用费预扣预缴计算方法
  • 年初未分配利润加本年净利润等于
  • 工业企业税负率一般控制在多少?
  • 三证合一后怎么看税号
  • 销售已使用过的固定资产增值税
  • 不具有法人资格的企业形式
  • 企业借款利息税前扣除怎么算
  • 额外收入如何避税
  • 子公司借款给母公司要交税吗
  • 小规模企业转为一般纳税人怎么做会计分录
  • 财务管理和会计学哪个好就业
  • 房地产企业的样板房,装修款如何缴纳增值税
  • 因质量问题扣款协议
  • 电脑下载的文件打不开怎么回事
  • 吊销执照公司资产怎么办
  • php存储过程是什么
  • 公司已开票给客户,但客户未打款怎么办?
  • vue 大屏可视化设计 开源
  • 期间损益包括
  • PHP:imagecolordeallocate()的用法_GD库图像处理函数
  • php的api接口
  • 建筑行业有哪些岗位,从事的要求有哪些
  • echarts.
  • 论文笔记整理软件
  • web前端面试题2021及答案
  • 普通动产和特殊动产如何分类
  • vscode终端显示
  • 高价值配件用入固定资产吗
  • linux开启php服务
  • 借款合同 印花
  • sql性能优化方法
  • 税负率包含哪些税种
  • 大数据sql教程
  • sql server2012使用方法
  • 生产成本怎么结账
  • 暂估成本跨年后收到票可以直接附在暂估凭证
  • 单位卖二手车如何交税
  • 暂估价和实际价格不一致的处理方式
  • 售后租回承租人怎么处理
  • 成本结转的凭证后附件是怎样的
  • 工程结算收入是否缴纳增值税
  • 发工资四舍五入多了几块钱怎么办
  • 事业单位对外投资
  • 施工企业项目部发生的管理人员工资应计入
  • 技术员差旅费计入哪个会计科目
  • 股权转让怎么入账
  • 收到股东投资如何做账
  • 法人在公司账户取钱要纳税么
  • 蔬菜销售方式
  • 管理费用中的水电费怎么记账
  • 事业单位会计制度
  • 企业投资人类型怎么选
  • sql server删除重复数据保留一条
  • Windows时间同步时出错该怎么解决?
  • win1020h2正式版
  • awk中执行命令
  • 如何将win7系统装进移动硬盘
  • windows 7中,执行应用程序的方法有哪几种?
  • win7系统开机后很卡什么原因
  • cocos2dx视频教程
  • unity ugui ngui
  • 批处理操作
  • javascript:void(0)的作用示例介绍
  • nodejs mocha
  • Linux 中的 lo:0
  • js判断数据是否存在
  • jquery mobile 加载页面
  • 内容滑动切换效果怎么弄
  • 面向对象的三大特征
  • apple开发
  • 网上申报成功怎么查询
  • 发票为什么要验旧操作
  • 电子发票美元如何查询
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设