- Home /
Web Player and database
Hello, im making a multi-platform game (phone,pc and web), I use mysql data base and php brige to connect and store the players accounts and score. The pc and phone versión works great the problem is when I build it for web player and try to connect to data base never connect its just standing connecting and never change this state.
Answer by aress · Feb 03, 2014 at 11:56 AM
bump
Where do you host the webplayer build? $$anonymous$$aybe it's a problem with crossdomain.xml. If on your database server, there is no crossdomain.xml or it's not correct, it'll refuse to connect.
Read more here: link text
Also, it needs some special modification if your database is on a host using https and your database host uses http.
If it's a crossdomain problem you should try to copy this crossdomain.xml to the root of your database server:
<cross-domain-policy>
<allow-access-from domain="*" secure="false" />
</cross-domain-policy>