0000 Posted January 27, 2010 Posted January 27, 2010 This is a part of code: $OHTTP = ObjCreate("winhttp.winhttprequest.5.1") $id = 100 For $i=1 to $id Do Step 1 $OHTTP.Open("POST", "http://online.game/builder.php") $OHTTP.Send("build=" & $i & "&agree=1") Next So this script working really fast, but there is one problem. Sometimes Online-Game doesn't respond in time (some delay) because of that program crashes with error: 'HTTP-Respond-error...' Is there any way to check if Http-server send respond to program and program got it? Thanks, Mr.0000
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