Cross Domain Scripting (yes another one!)

Get help using Construct 2

Post » Tue Dec 13, 2016 12:49 am

Hi everybody,

I have written a silly Christmas game with a high score table. The game is at

From here the high-score table works fine.

I've published the game to the Scirra arcade However... the high-score table doesn't work (which of course I also found whilst testing on localhost and had to upload the game to the website for it to work).

So... of course I need to enable cross domain scripting.

Ideally I imagine I want to add this to the top of my .php file -


...which doesn't work. Worse still I can't even make this work!!

header('Access-Control-Allow-Origin: *');

I've read about a billion articles and they all say the same thing.

So what am I missing?!!

Server is Apache.

Many thanks to anybody who can tell me what I've got wrong here! :)
Posts: 8
Reputation: 1,896

Return to How do I....?

Who is online

Users browsing this forum: Slug101 and 10 guests