PHP中$_SERVER的详细参数与说明
作者:会飞的
(PECL pecl_http >= 0.1.0)http_negotiate_charset — Negotiate clients preferred character set
说明
string http_negotiate_charset
( array $supported
[, array &$result
] )
This function negotiates the clients preferred charset based on its
Accept-Charset HTTP header. The qualifier is recognized and charsets
without qualifier are rated highest.
参数
supported
array containing the supported charsets as values
result
will be filled with an array containing the negotiation results
返回值
Returns the negotiated charset or the default charset (i.e. first array entry) if none match.
范例
Example #1 Using http_negotiate_charset()
猜你喜欢
您可能感兴趣的文章:
- Access to the requested object is only available from the local network.
- ISSET()、empty()、is_numeric()使用方法
- ob_get_contents() 函数的用法
- PHP OOP思想
- PHP XML Expat 解析器
- php 读取xml
- PHP 二分法查找数据
- PHP 发送邮件
- PHPer程序员评“一个PHP程序员的价值”
- php程序员容易犯的10种错误
- php代码中去除空格和其他特殊符号
- PHP导出一个txt文本文件
- PHP的foreach循环
- PHP的运行原理 内幕:PHP是如何显示“你好世界”的?
- php工程师面试题
- php工程师面试题2
- PHP面试题,PHP程序员面试题及答案
- php数组分页
- php四舍五入函数round()