方法1: 用file_get_contents以get方式获取内容
<?php
$url= 'http://www.zhimatong.com/demo.php?id=123';
$data= array('foo'=> 'bar');
$data= http_build_query($data);
$opts= array(
'http'=> array(
'method'=> 'POST',
'header'=>"Content-type: app...
<?php
$url= 'http://www.zhimatong.com/demo.php?id=123';
$data= array('foo'=> 'bar');
$data= http_build_query($data);
$opts= array(
'http'=> array(
'method'=> 'POST',
'header'=>"Content-type: app...