Thanks for the response, i tried that but it didn't work. I am using Wampserver and managed to get it to work by enabling headers_module and by adding this code into httpd.conf:
Header set Access-Control-Allow-Origin: *
But now i'm facing another problem, do you know how to get a respond from php script/website. I am able to successfully post data from Construct 3 to my php script and data gets stored into mysql database, this will be for registration, but i'm stuck on trying to do a login form.
So i just have a text input field and a submit button, if the email exists in the php script you get logged in, but how can i get this response back to Construct 3 to tell it the email is valid. is it possible to us a echo command which says successfully registered and then that text gets sent back to Construct 3 and if it does the game can start.
Hope you have some ideas?