Hmm interesting
Quote: "I noticed that your example uses a POST command and not the standard GET command; I don't know if this would have any bearing on the results, but it could do."
Get and Post works on my Site. I use 1and1 hosting and I had trouble accessing stuff using [HTTP REQUEST DATA] after a certain DBP update. I was able to use the command without the access parameter before.
Quote: "it shouldn't be website related as I have use other methods to get the results required, just haven;t been able to use the built in DBP commands successfully"
I agree that the DBP commands do not work as good as other methods,
I find that sometimes it crashes using the valid demo posted above. I don't really want to have to specify access or port parameters to load an HTTP request. I know that you are aware of alternative methods, just for the record I often use the urlmon
function SubmitScore()
oUrl$ = "http://www.binarymodular.com/files/gamescores/tables_and_objects/index.php"
url$ = oUrl$ + "?n=" + WebName$
url$ = url$ + "&s=" + str$(Score)
url$ = url$ + "&i=" + "1.0.0.0" ` Made up IP address
load dll "urlmon.dll", 1
result = Call DLL(1, "URLDownloadToFileA", 0, url$, "Score.htm", 0, 0)
if result = 0 then result = 1 else result = 0
if result then gosub On_Score_Submitted
endfunction result
method to download files and process GET requests. For that matter, I don't even use DBPRO to download stuff anymore, I use a VB.NET executable or a HTML file loaded into the users default browser. Previously, If I had to send a POST request privately without external files then I would send javascript into a hidden webbrowser control with BlueGUI; but that was ages ago and I can't even remember if BlueGUI could even return HTML content as a string.
Quote: "You are right that it depends on the access parameters and that it should be 0 for the last one (which was the information given in a previous post or change log entry; I have tried that as well unsuccessfully), I'm very surprised you say it works for your site."
If this works for my site, but not yours, then the difference is our hosts, in relation to what ever is going on during the [HTTP request data] call. And guess what... The zero parameter example which works with google and my website, does not work with www.msn.com, now there's a suprise!