Developing the login page in Phonegap using Ajax and on server MySQL

后端 未结 1 584
孤街浪徒
孤街浪徒 2021-02-11 05:27

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

相关标签:
1条回答
  • 2021-02-11 06:17

    Adding

     header("access-control-allow-origin: *") 
    

    to the Top of your PHP page will solve your problem of accessing cross domain request

    0 讨论(0)
提交回复
热议问题