Search Unity

How to use php to update mySQL?

Discussion in 'Scripting' started by missy_pooh, Mar 26, 2012.

  1. missy_pooh

    missy_pooh

    Joined:
    Jun 1, 2011
    Posts:
    150
    Hello, i am using mySQL to store all my data. So i am like following the tutorials which everyone have recommended,Server_Side_Highscores. So basically, there is a php script. May i know where should we put the script at? I doubt we need to attach the php script to an gameObject?? And regarding md5.js, do we have to attach to any gameObject.

    http://www.unifycommunity.com/wiki/index.php?title=Server_Side_Highscores

    Still very confusing about the process of using the server side highscore and would appreciate some kind soul can give me a brief instruction on how to use all the 3 files?

    Thank you
     
  2. SteveJ

    SteveJ

    Joined:
    Mar 26, 2010
    Posts:
    3,085
    The PHP/MySQL side of things has nothing to do with Unity GameObjects. All of the PHP code goes on your web server, likely on the same server that you're running the MySQL database on.