1
0
www.mikescher.com/www/pages/highscores_newid.php

14 lines
326 B
PHP
Raw Normal View History

2017-11-09 17:43:34 +01:00
<?php
global $OPTIONS;
require_once (__DIR__ . '/../internals/base.php');
require_once (__DIR__ . '/../internals/database.php');
require_once (__DIR__ . '/../internals/highscores.php');
Database::connect();
2018-01-26 23:52:55 +01:00
$newid = Highscores::getNextPlayerID($OPTIONS['gameid']);
2017-11-09 17:43:34 +01:00
if ($newid < 1024) $newid = 1024;
print $newid;