I'm following the rather good online scores tutorial and have hit a bit of a stumbling block.
I have my database set up with some dummy scores and can add scores to the database with direct entry into the web browser link bar.
The scores are displaying and ordering ( all be it with a few php errors but that's not a worry at the moment ).
I'm at the stage where I'm submitting the score from MMF2 itself.
When I hit the submit button, the string changes to submitting score and the button deactivates as expected but after that nothing happens.
I think I'm entering my site details incorrectly as I'm quite new to this aspect.
Can someone who's used to working with this sort of thing look at the below please ?
My site is http://www.auld-games.co.uk
The score links are :
What would I put in "youraddresshere" section in the below code ?
Thee tut says to omit the http:// so would it just be www.auld-games.co.uk ?
-> Submit button: Disable
-> Status string: Set alterable string to "Connecting to high score table"
-> MooSock object: Connect to "youraddresshere" on port 80
The same for below.
What would I put in the address bit on the next part as I think this is where it's failing.
-> Status string: Set alterable string to "Submitting score"
-> MooSock object: Send text line "GET http://[youraddresshere]/submitscore.php?name="+Edittext$( "Edit Box" )+"&score="+Str$(value( "Counter" ))
-> MooSock object: Send text line "From: firstname.lastname@example.org"
-> MooSock object: Send text line "User-Agent: HTTP-Tool/1.0"
-> MooSock object: Send text line "" (i.e. an empty string)
-> MooSock object: Listen on port 80
I currently have this in the second line....."GET http://www.auld-games.co.uk/submitscores.php?name="+Edittext$( "Edit Box" )+"&score="+Str$(value( "Counter" ))
Does that look correct ?
Any help would be greatly appreciated.