lauantai 29. toukokuuta 2010

mOnlineHighScore (test project)

Usage:
- Copy php file to your webserver
- Copy highscore.txt to your webserver AND set permissions: 666 (otherwise php file fails to read/write it)
- Test 3DRAd project file (press enter to submit random score)

Notes:
- Do not use 'as is' for published games, since it might not be secure/safe.
- Would have problems if many users try to submit at the same time. (use database instead?)
- No checking or encryption used (users can hax the scores with manual links etc..)
- file_get_contents & file_put_contents might not work on all server. (try fopen/fread/fwrite..)
- Highscore file format is "nobody,999999|" "name_score_separator"

Download:
mOnlineHighScorev1.0

2 kommenttia:

m kirjoitti...

The test server is down already..
or did you try with your server?

PLAYMATE kirjoitti...

What does set permission to 666 mean?

Sorry i'm new to this.

Lähetä kommentti

 
Copyright 2009 3DRad Stuff