<?phpset_time_limit(0);require_once 'HTTP/Client.php'; //pear HTTP_Client$url = 'http://www.test.com/test.php'; //表单action url$vars = array( //传输字段, '字段名'=>'值''pwd'=>'****','action'=>'******r','username'=>'**********','domain'=>'************','password'=>'*****','communityname'=>'*******','diskquota'=>'******');$client = & new HTTP_Client(); //实例化HTTP_Client$client->post($url, $vars); //提交表单?>