basel1998 Posted August 14, 2013 Posted August 14, 2013 (edited) error: The requested action with this object has faild #RequireAdmin #NoTrayIcon #include <String.au3> $file = fileopen(@ScriptDir & "/exe.exe",16) $exefilename= FileRead($file) FileClose($file) $sDataToPost = "exefile=" & $exefilename $oHTTP = ObjCreate("winhttp.winhttprequest.5.1") $oHTTP.Open("POST", "http://eample.com/test.php" , False) $oHTTP.SetRequestHeader("User-Agent", "Test") $oHTTP.SetRequestHeader("Referrer", "http://www.google.com") $oHTTP.SetRequestHeader("Content-Type", "application/x-www-form-urlencoded") $oHTTP.Send($sDataToPost) exe is 10 mb php file is reading binary and save it (Without problem) and i can use this in small files without errors any help? Edited August 14, 2013 by basel1998
FireFox Posted August 14, 2013 Posted August 14, 2013 Hi,Try with the WinHTTP UDF.AFAIK, there is nothing in parentheses for the send function.Br, FireFox.
basel1998 Posted August 14, 2013 Author Posted August 14, 2013 Hi, Try with the WinHTTP UDF. AFAIK, there is nothing in parentheses for the send function. Br, FireFox. How to do that?
Solution FireFox Posted August 14, 2013 Solution Posted August 14, 2013 Do what? Search "WinHTTP" in the forum, you will find the WinHTTP UDF topic, download it and convert the object code you have in functions. Br, FireFox.
FireFox Posted August 14, 2013 Posted August 14, 2013 No problem, tell me if you're running into issues. Br, FireFox.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now