Try this http://www.blitzbasic.com/codearcs/codearcs.php?code=2208 to manage GET/POST on http streams.
The 'logic' is (for POST method)
http.Open (your MAIN domain = www.leadwerks.com)
result = http.Post (path_of_your_page,[array_of_variables],[array_of_values])
I've tested and got the following result
HTTP/1.1 200 OK
Date: Sat, 13 Sep 2008 19:10:35 GMT
Server: Apache
Connection: close
Content-Type: text/html
error 2
This one for the GET method
HTTP/1.1 200 OK
Date: Sat, 13 Sep 2008 19:20:15 GMT
Server: Apache
Connection: close
Content-Type: text/html
Process complete
I dont' know if it is the result I should expect, but there is no error 404.
If http.Open("www.leadwerks.com") 'POST Example result$=http.Post("gameservers/game1.php",["action","gamename","servername"], ["addserver","my_game","my_server"] ) End If
The 'logic' is (for POST method)
http.Open (your MAIN domain = www.leadwerks.com)
result = http.Post (path_of_your_page,[array_of_variables],[array_of_values])
I've tested and got the following result
HTTP/1.1 200 OK
Date: Sat, 13 Sep 2008 19:10:35 GMT
Server: Apache
Connection: close
Content-Type: text/html
error 2
This one for the GET method
If http.Open("www.leadwerks.com") result$=http.Get("gameservers/game1.php?action=addserver&gamename=my_game&servername=my_server") end if
HTTP/1.1 200 OK
Date: Sat, 13 Sep 2008 19:20:15 GMT
Server: Apache
Connection: close
Content-Type: text/html
Process complete
I dont' know if it is the result I should expect, but there is no error 404.