- Home /
Question by
Vylax · Mar 26, 2016 at 06:36 PM ·
phpsqlcrossdomain
no valid crossdomain policy available
Hi, I already checked other forum like this one but the solution don't work for me (or I don't understand it well), I making a game where the highscore is send to a php page with this code :
var www = new WWW("http://mywebsite.com/addscore.php?pseudo="+pseudo+"&score="+score+"&asecretekey="+mykey);
yield www;
print(www.text);
it worked well but it stopped to work when I compiled my game and now I got this error :
SecurityException: No valid crossdomain policy available to allow access
UnityEngine.WWW.get_text () (at C:/buildslave/unity/build/artifacts/EditorGenerated/Utils.cs:172)
Login+$Login$10+$.MoveNext () (at Assets/Scripts/Javascript/Login.js:68)
and yes I already try to replace var www = new WWW("http://
by var www = new WWW("https://
Thanx for your help.
Comment
Your answer
Follow this Question
Related Questions
My code to php -> sql in PC good, in Android not work. plese fast 1 Answer
Unity PHP/SQL table creation adds strange characters to table name 2 Answers
Why is my PHP echo returning entire PHP file after WWW request? 1 Answer
Getting Specific mySql Row by searching table with a name 0 Answers
Crossdomain policy trouble 1 Answer