1
香港專業教育學院到處找,找不到如何用vb.net
所以我想知道發佈的數據,如果有人能我做了這個捲曲代碼轉換成vb.net :)
捲曲VB.net轉換
$useragent="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1";
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); // return into a variable
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
$result = curl_exec($ch); // run!
curl_close($ch);
$ data是一個數組,不知道它如何在vb.net中工作。
澄清,請,你的意思是如何用vb.net發佈了HTTP? – BlackICE 2010-03-05 15:43:38