|
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
(comments are locked)
|
|
I've never used this tutorial but I'll try to give general advice to make it work. In case you just want to save data locally, SQLite might be a better solution, this tutorial is for saving data online.
I didn't test it myself but that's probably how it works. initially i am using sqlite, but when i run the games on .exe file, it is not updating to sqlite. Any ideas why? It is because of the security problem??
Mar 26 '12 at 03:56 AM
missypooh
(comments are locked)
|

You probably need a webserver with both PHP and MySQL installed. You will setup the database and upload the PHP scripts there, not within Unity itself. From Unity, you will probably use WWWForm to post and fetch data to the PHP, which serves as a gateway to your MySQL database.
can i used phpmyadmin? I would appreciate you could provide more details how to do?