Dùng cái này spam chắc đc. Hix!
| $oMyError = ObjEvent("AutoIt.Error","MyErrFunc") ; Install a custom error handler $ResolveTimeout = 5000 $ConnectTimeout = 5000 $SendTimeout = 5000 $ReceiveTimeout = 5000 $sUrl = "http://localhost/sp/test.php" $PostData = "name=justin" $oHttpRequest = ObjCreate("MSXML2.ServerXMLHTTP") $oHttpRequest.Open ("POST", $sUrl,True) $oHttpRequest.setRequestHeader ("Content-Type", "application/x-www-form-urlencoded") ; Need to change as per your webpage $oHttpRequest.setRequestHeader ("Connection", "Keep-Alive") $oHttpRequest.Send ($PostData) sleep(1000) $oHttpRequest = "" |
Không có nhận xét nào:
Đăng nhận xét