摘要:
没有仔细看解决办法,留个网址以后看 http://www.nowamagic.net/librarys/veda/detail/2334 阅读全文
posted @ 2014-09-11 17:09
栋的博客
阅读(344)
评论(0)
推荐(0)
摘要:
HP传给JS字符串用ecsape转换加到url里,又用PHP接收,再用网上找的unscape函数转换一下,这样得到的字符串是UTF-8的,但我需要的是GB2312,于是用iconv转换 开始是这样用的 $str = iconv('UTF-8', 'GB2312', unescape(isset($_GET['str'])? $_GET['str']:'')); ... 阅读全文
posted @ 2014-09-11 17:07
栋的博客
阅读(8289)
评论(0)
推荐(0)
摘要:
(.*) 这样根本不行,因为源代码里面有换行ch(13),还有一些 tab键,应该这样:preg_match('/([\s\S]*)/iU',$get,$data); 阅读全文
posted @ 2014-09-11 11:54
栋的博客
阅读(1487)
评论(0)
推荐(0)

浙公网安备 33010602011771号