have to call page from your game somehow like this
mysite.com/score.php
but currently full of security holes e.g. anyone can post a score not just your game. May have to have game supply a secret key along with score
<?php
$file = "c:\users\user\scorefile.dat";
$score = $_GET['score'];
$total = file_get_contents($file);
$total += $score;
file_put_contents($file, $total);
?>
Develop games in your browser. Powerful, performant & highly capable.
did you happen to think up something?
Member since 26 Oct, 2011