PHP rawurlencode()和urlencode()函数区别
摘要:来源一:http://hi.baidu.com/jiang_killer/item/041ca6d05329d7362b35c795rawurlencode遵守是94年国际标准备忘录RFC 1738,urlencode实现的是传统做法,和上者的主要区别是对空格的转义是'+'而不是'%20'javascript的encodeURL也是94年标准,而javascript的escape是另一种用"%xxx"标记unicode编码的方法。推荐在PHP中使用用rawurlencode。弃用urlencode样例source:超级无敌的人sadha sa
阅读全文
posted @
2013-03-23 11:49
radphp
阅读(1213)
推荐(0)