Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Online HighScore : AGK client + Php script

Years of Service
User Offline
Joined: 17th Feb 2014
Location: Arkeos
Posted: 23rd Nov 2021 15:21

Here is a simple example to set and Get an online hightscore.
- send the php script on your webserver, and use the AppGameKit code in your game .

AGK code :
Change "" by your server url (line : MyURL$ = "").

Php script : to send to your webserver :

Cheers !
AGK2 tier1 -
DBPro Master
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 24th Nov 2021 06:10
To make purple token work with I had to add the following to the PHP:

header("Access-Control-Allow-Origin: *");

I would also recommend using SSL/TLS and some sort of private identifier sent with the data, otherwise anyone could access the file.
Tiled TMX Importer V.2
XML Parser V.2
Base64 Encoder/Decoder
Purple Token - Free online hi-score database
Legend of Zelda

"I like offending people, because I think people who get offended should be offended." - Linus Torvalds

Login to post a reply

Server time is: 2023-12-09 08:50:20
Your offset time is: 2023-12-09 08:50:20