Unity 3D PHP MySQL Database Tutorial Part 7




FREE host your php and mysql online. Make it live! No cash involved, all are FREE mySQL implementation. Live Source Code: …

Original source


7 responses to “Unity 3D PHP MySQL Database Tutorial Part 7”

  1. Hi! Thanks for the tutorial. I'm having trouble simply accessing the php files on the online server. Just to see if I can get a connection I do this in Unity: 

    IEnumerator Start () {
    url = "http://mywebsitexxx.unaux.com/Test.php";
    WWW tester = new WWW (url);
    yield return tester;
    Debug.Log (tester.text);
    }

    and my php script (Test.php) is simply:

    echo "hi there";

    When I go there in the web browser I get the echo message, but in the unity console I get: <html>
    <head><title>403 Forbidden</title></head>
    <body bgcolor="white">
    <center><h1>403 Forbidden</h1></center>
    <hr><center>nginx</center>
    </body>
    </html>

    I read somewhere that these free web hosts have started blocking Unity. Could this be possible? I've been struggling with this for awhile. Could you help me? Thanks!!!

  2. I'm having problems with the serverKeycode
    This is it:
    Notice: Undefined index: serverKeycode in /storage/h4/971/1065971/public_html/server/UserDatabase_SetValue.php on line 10

Leave a Reply