摘要: php入库json信息 有些字符需要特殊处理 1 //组装 2 $test=array(); 3 $test["k1"]= urlencode($k1); 4 $test["k2"]=urlencode($k2); 5 $test["k3"]=urlenco... 阅读全文
posted @ 2015-04-10 18:37 cphmvp 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 作为php新手 ,把经常用到的phpcode,做个备份1: 文件处理 1 //读取配置 启动是指定文件 2 $filepath=$argv[1]; 3 if(null==$filepath){ 4 echo"please point file\n"; 5 return; 6 } 7 ... 阅读全文
posted @ 2015-04-10 18:27 cphmvp 阅读(348) 评论(0) 推荐(0) 编辑
爬虫在线测试小工具: http://tool.haoshuju.cn/