php 模拟get/post封装类
nfig) ->open('http://127.0.0.1/HttpRequest/r.php') ->post(array('time' => time())); echo '请求状态码:'. $res->HttpCode(); echo '头部信息:'. $res->header(); echo '网页内容:'. $res->body(); ?>
nfig) ->open('http://127.0.0.1/HttpRequest/r.php') ->post(array('time' => time())); echo '请求状态码:'. $res->HttpCode(); echo '头部信息:'. $res->header(); echo '网页内容:'. $res->body(); ?>