HI SCORE ONLINE AND PHP VERSION : REQUEST?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Good morning everyone :), I ask for information on the online hi score system.

    I followed the Sparkman and Jeff tutorials. If you set the old php version 5.x in the hosting everything works fine :thumbup:, but if you use php higher than 5.x the script does not work ?(.

    I am not familiar with PHP, someone has updated the tutorial package to make it work with the latest versions of PHP.

    Thank you very much.

    Please login to see this link.

  • Thank you for your patience. I'm sorry I didn't get to this sooner. I actually managed to find a tool from Please login to see this link. that made the script conversion quite easy. I wish I knew about it when I updated the online registration tutorial a couple years ago.

    The tutorial with the updated script is available here: Please login to see this link.

    I tested it on my own site with the latest PHP 8.3.22 and it seems to work just fine. Everything should work as normal and no tweaks were made to the tutorial information itself, so feel free to use the original PDF and MFA file that I also included in the repository.


    The new version of the script uses mysqli_ function calls instead of the deprecated mysql_ function calls that no longer work on newer versions of PHP. As long as the mysqli module is enabled for your PHP installation, then you're good.


    Please do not hesitate to mention any issues you encounter.

  • I updated the code on the Please login to see this link. so that it doesn't throw any warnings if a value fetched using $_GET is not present. You normally wouldn't see it unless you have the display_errors setting enabled for your PHP installation, which is not recommended for a live environment.

    It also now parses the $host variable in config.php for a separator character to see if it contains an optional port number (like "localhost:3306") that should be used when connecting to the database. With older PHP versions, it would parse the port number automatically, but now it requires it to be declared as a specific parameter when using mysqli_connect(), hence the need for the modification to parse it out before connecting.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!