摘要: 没有仔细看解决办法,留个网址以后看 http://www.nowamagic.net/librarys/veda/detail/2334 阅读全文
posted @ 2014-09-11 17:09 栋的博客 阅读(335) 评论(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 栋的博客 阅读(8179) 评论(0) 推荐(0) 编辑
摘要: (.*) 这样根本不行,因为源代码里面有换行ch(13),还有一些 tab键,应该这样:preg_match('/([\s\S]*)/iU',$get,$data); 阅读全文
posted @ 2014-09-11 11:54 栋的博客 阅读(1476) 评论(0) 推荐(0) 编辑
深入理解php php扩展开发 docker mongodb