Hey there, online highscore works perfect for me, but:
How can I protect it from beeing cheated. For example you just have to enter this into the browser
"http://myurl/post.php?name=Cheater&score=1000000"
to get a highscore.
Is there a possibility that the php script can only be called directly by the game/server?
Or is there another solution for this problem?
I allready tried to put this into the php files:
<?php
if($_SERVER["REQUEST_URI"] == $_SERVER['PHP_SELF']){
die("not allowed");
}
?>
But this only works if you call the php script directly without parameters ("http://myurl/post.php")
Thanks for your help!