tsolrm Posted July 31, 2012 Posted July 31, 2012 Trying to upload a screenshot to http://fastpic.ru/So far there is no error but nothing gets returned from the site ($sRead = "")Help please?$sURL = "fastpic.ru"$hOpen = _WinHttpOpen()$hConnect = _WinHttpConnect($hOpen, $sURL)$sRead = _WinHttpSimpleFormFill($hConnect, Default, Default, _"name:uploading", "1", _"name:file[]", @ScriptDir&"\screens\"&$picture, _"name:submit", "Загрузить")ConsoleWrite (@error)ConsoleWrite ($sRead)_WinHttpCloseHandle($hConnect)_WinHttpCloseHandle($hOpen)FileWrite ("text.txt",$sRead)exit
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