I made a fully JS
game and I'd like to calculate a score and have the player insert it into the database with a nickname, so I can make a top high score ladder.
The problem is, can't they enter any number as their score, if they modify the script? Or if they simply access my PHP script and send some POST variables into it? Note that they will be validated as numbers/nickname, but can't they send ANY number they want? How can I prevent that?