Failed connection

edited November -1 in Support Forums


I'm super new to all this, but I'm trying to connect my game on Unity to a database on here. I have a php file I'm trying to access in the htdocs folder but I keep getting a 403 Forbidden error returned. The php file is just supposed to echo back a string. Here's a sample code from Unity:

WWW itemsData = new WWW ("");
yield return itemsData;
Debug.Log (itemsData.text);

Do I need to make a connection first? I tried that and I couldn't get it to work either. Probably something obvious but like I said I'm new with this stuff.

Thanks for the help.