美图云海网站建设,新征程启航
为企业提供网站建设、域名注册、服务器等服务
PHP如何对中文进行转义?
在PHP中可以通过使用“urlencode()”函数将中文进行转义,该函数的作用是对URL字符串进行编码,其语法为“urlencode($str )”,使用时将中文传入即可。
使用示例
'; ?>
... could do the problem. Unfortunately flash still have problems with read some quotations, but with this one:
推荐教程:《PHP》
网页标题:PHP如何对中文进行转义?
浏览地址:http://www.tjjierui.cn/article/cpggoj.html