<?php
include "http.lib.php";
$Browser=new http('http://www.google.com.hk');
var_dump($Browser->get('/'));
$Data['username']='nickname';
$Data['password']='passwd';
$Data['email']='example@net.cn';
$Browser->post('somepage',$Data);
$Download=new http();
$Download->send('./software/test.zip','./tmp/test.zip','link');
?>
|