I am using AJAX to make an online score that is hosted in a website with his Database(MySQL) and PHP files.
Saving data is all correctly. The problem is that the load of the high-score it's not working.
If I load the page in the browser the PHP file works but in the game is not.
I found that someone got this problem too. scirra.com/forum/ajaxlastdata-problem_topic50114.html
He solve it with adding "header('Access-Control-Allow-Origin: *');" on the PHP files but for me it's not working :(
Here are my php files: mega.co.nz
Here are the images of capx layout:
PS: English is not my mine language so if you don't understand something I will try to explain a bit better.
Edit: Edited for better understanding. Added PHP files and images.