$fetchGetTBResult = $fetchService->fetchByGet("
http://www.taobao.com");
|
|
$parameter = array("username" => "jae", "password" => "jae");
$fetchPostResult=$fetchService->post("
https://login.taobao.com/member/login.jhtml", $parameter);
|
|
echo '$fetchService->fetchByGet 方法实例:';
$url ="
http://www.taobao.com";
$content=$fetchService->fetchByGet($url);
if($content) {
echo '调用$url: '.$url . '的远程内容为:'.$content;
}
|