Jump to content
Sign in to follow this  

upload screen shot

Recommended Posts


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)



FileWrite ("text.txt",$sRead)


Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this