Code: Select all
URLDownloadToFile_(#Null, "http://mydomain/mydatabase.php?name=Angelo&age=37", "result.txt", #Null, #Null)
(one can also use the PB command ReceiveHTTPFile() or the comfortable callback solution by - I think - Hexor)
I tried this within SpiderBasic by using the HTTPRequest-function:
Code: Select all
Procedure HttpGetEvent(Success, Result$, UserData)
If Success
Debug Result$
Else
Debug "HTTPRequest(): Error"
EndIf
EndProcedure
HTTPRequest(#PB_HTTP_Get, "http://mydomain/mydatabase.php?name=Angelo&age=37", "", @HttpGetEvent())