User Tag List

Results 1 to 6 of 6

Thread: Is There An Updated Hi Score Online version for Clickteam 2.5?

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jan 2016
    Posts
    108
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Is There An Updated Hi Score Online version for Clickteam 2.5?

    I tried to do this using the tutorial but got the following error message.

    Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead.

  2. #2
    Clicker Fusion 2.5 DeveloperHTML5 Export Module

    Join Date
    Jan 2014
    Location
    Paris, France
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    mysql_* is deprecated since PHP 5.5x

    You only have to change some little things in your .php file, just use mysqli instead of mysql:

    $sqlHost = 'localhost';
    $sqlUser = 'Your_user';
    $sqlPass = 'Your_password';
    $sqlBase = 'Your_database';

    // Connect to database

    $mysqli = new mysqli($sqlHost, $sqlUser, $sqlPass, $sqlBase) ;

    // then do your MD5 verifications...

    // to insert your new score:
    $mysqli->query("INSERT INTO YourTableName VALUES(DEFAULT, '" . $name . "', '" . $score . "')");

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Aug 2006
    Posts
    540
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Thank you for this info ! quite useful to me too

  4. #4
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jan 2016
    Posts
    108
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    So what is the reason localhost should not be used?

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,352
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Locahost is only running on your computer and cannot communicate with the outside world. You should use it for testing, though.

  6. #6
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleInstall Creator ProUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Posts
    574
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    localhost is perfectly fine though if the webserver and sql are running on the same server.

Similar Threads

  1. Replies: 4
    Last Post: 7th June 2016, 10:10 AM
  2. Replies: 44
    Last Post: 22nd November 2014, 09:33 PM
  3. Player 1 score to Online Score without editbox
    By Sparckman in forum Guides, Tutorials, Examples, Widgets
    Replies: 4
    Last Post: 10th November 2014, 10:24 AM
  4. Replies: 6
    Last Post: 4th June 2014, 10:43 PM
  5. Ability to Download Updated Version
    By Aremith in forum Install Creator and Patch Maker
    Replies: 1
    Last Post: 22nd March 2008, 10:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •