摘要: php模拟post传值在日常的工作中用到的不是很多,但是在某些特定的场合还是经常用到的。下面,我整理了三种php模拟post传值的方法,file_get_contents、curl和socket。第一种:file_get_contents来模拟post array('method'=>'POST','content'=> http_build_query($post),),); $re... 阅读全文
posted @ 2016-02-16 09:44 meetrice 阅读(4292) 评论(0) 推荐(1) 编辑