I have been stuck with this problem for days already. I used Ajax group of web development techniques to call the php file from the server. It appears that the success method wa
Adding
header("access-control-allow-origin: *")
to the Top of your PHP page will solve your problem of accessing cross domain request