12 2011 档案
摘要:方法一:利用PEAR的HTTP_Request<?php/* 利用PEAR的HTTP_Request*///包含库文件require_once "HTTP/Request.php";//HTTP_Request对象生成$req =& new HTTP_Request();//设定目标URL$req->setURL( $url );//POST数据$req->setMethod(HTTP_REQUEST_METHOD_POST);$req->addPostData( "data1", $data1 );$req->ad
阅读全文