Originally Posted by Isonyx Whipped up a quick and dirty solution in AutoIt using Doc's old HTTP Wrapper. Spoiler: Code: Global $oHTTP = ObjCreate("winhttp.winhttprequest.5.1") Global $sPost $sPost = _HTTPRequest($oHTTP, "POST", "http://a-zfonts.com/games/flash_pacman/pf.php", "game=pacman&name=isonyx&score=9998990") ConsoleWrite("Post: " & $sPost) Func _HTTPREQUEST($oHTTP, $oMethod, $oURL, $oData = "") $oHTTP.Open($oMethod, $oURL, False) $oHTTP.SetRequestHeader("User-Agent", "User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0") If $oMethod = "POST" Then $oHTTP.SetRequestHeader("Content-Type", "application/x-www-form-urlencoded") $oHTTP.Send($oData) Return $oHTTP.ResponseText EndFunc Proof is here. Yeah, you got it! Congratulations, you're now 200LGG richer haha. My program looked a lot like that, lol. Now to come up with a better challenge for the next competition, hmmm...
Global $oHTTP = ObjCreate("winhttp.winhttprequest.5.1") Global $sPost $sPost = _HTTPRequest($oHTTP, "POST", "http://a-zfonts.com/games/flash_pacman/pf.php", "game=pacman&name=isonyx&score=9998990") ConsoleWrite("Post: " & $sPost) Func _HTTPREQUEST($oHTTP, $oMethod, $oURL, $oData = "") $oHTTP.Open($oMethod, $oURL, False) $oHTTP.SetRequestHeader("User-Agent", "User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0") If $oMethod = "POST" Then $oHTTP.SetRequestHeader("Content-Type", "application/x-www-form-urlencoded") $oHTTP.Send($oData) Return $oHTTP.ResponseText EndFunc
Forum Rules