位置: 编程技术 - 正文

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

  • 财税2019 21号第二条
  • 已申报税额是什么意思可以退吗
  • 公司车辆过户给个人需要交多少税
  • 企业所得税不超过300万怎么算
  • 应纳税额关于进项和销项的计算公式
  • 2020年建筑企业税收优惠政策
  • 代订机票被骗可以追回吗
  • 个人境外汇款有限制吗知乎
  • 股息交个人所得税怎么交
  • 购买方丢失未认证发票 怎么办
  • 固定资产清理营业外支出汇算清缴需要调增吗
  • 预缴的所得税怎么做分录
  • 建筑企业小规模纳税标准
  • 增值税专用发票和普通发票的区别
  • 劳务费开发票还要代扣代缴吗?
  • 职工报销差旅费会计科目
  • 进项税额转出是好事还是坏事
  • 收购全资子公司的账务处理
  • 维修材料费主要包括
  • 增值税在免税范围内,附加税怎么做
  • 小企业会计准则主要按照什么计量
  • 财务软件没有税务登记
  • 发票密码区出来了一些
  • 损失性费用的会计科目有
  • 关联公司代付款
  • 保证合同的担保范围包括
  • neotrace.exe - neotrace是什么进程 有什么用
  • mcdlc.exe - mcdlc是什么进程文件 有何作用
  • 补充协议是否缴纳印花税
  • Win11 Build 22471 Dev版更新推送(附更新修复已知问题汇总)
  • php中split
  • php数组函数,选班长
  • 现行小规模纳税人增值税税率
  • thinkphp i方法
  • 贷记卡怎么还利息
  • 劳务费还没发可以先计提吗
  • 海岸边上
  • 文化体育用品批发城有哪些
  • 发票取得取得售卡方公司开具的增值税专用发票
  • python3 静态方法
  • 汽车销售税额
  • 增值税专用发票有几联?
  • 装修公司开的劳务发票
  • 员工宿舍的物业费能否抵扣
  • 收到老板的钱怎么做分录
  • 无偿受赠房屋 交个人所得税嘛
  • 社保代扣代缴的规定
  • 采购流程内容
  • 货物样品出口
  • 企业零申报怎么办
  • 服务业的收入确认原则
  • 厂房鉴定费的账户是什么
  • 房地产公司退房款怎么做账
  • 公司库存现金提现流程
  • 内控制度包括哪几方面
  • 跨年度固定资产转为在建工程怎么计算
  • 大白菜u盘启动按f几
  • centos7.0安装教程
  • font system
  • pdoors.exe
  • linux应用程序在哪个目录
  • 2015-04-04---CCAction详解(欠了大家好几天了)
  • opengl英文
  • 刷新页面jquery
  • 激情台球游戏源码大全
  • Cocos2dx 3.0 lambda表达式的使用
  • 怎么使用vue和axios连接后端
  • 开发流程和步骤
  • shell脚本 -mtime
  • validateform
  • js禁用键盘事件
  • android基础知识入门
  • 如何使用nginx
  • python使用pymysql实现操作mysql
  • Javascript中Array.prototype.map()详解
  • python怎么写函数
  • 监听页面滚动事件
  • javascript define的用法
  • 北京地税税务总局官网
  • 一般纳税人什么意思
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设