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 阅读全文
posted @ 2011-12-23 19:03 you_yang 阅读(502) 评论(0) 推荐(2) 编辑