I'm trying to post variables to a PHP script that repeats back requested information, but I'm having trouble getting it to actually display. Here's what I have:
Everything compiles right and runs, but when the message box pops up, it's just blank. It should display a zero (0) in it.
Sub loginButton_Click Request.New1("http://tixscan.net/api/login.php") Request.Method = "POST" Request.Timeout = 30000 Request.ContentType = "application/x-www-form-urlencoded" bin.New1(Request.GetStream,true) 'Use a BinaryFile object to write the data to the Request stream. bin.WriteString("api=1") Response.New1 Response.Value = Request.GetResponse result = Response.GetString Response.Close Msgbox(result) End Sub