PHP header not working for Access-Control-Allow-Origin

前端 未结 3 690
不知归路
不知归路 2021-02-01 08:18

I am using the jQuery File Upload plugin by Blueimp to upload images to a server. The problem is, the sending server is admin.example.com, and the receiving server

3条回答
  •  佛祖请我去吃肉
    2021-02-01 08:46

    The solution for me was to re-save the PHP file using UTF-8 encoding. Apparently the original text file (that I copied into place and overwrote for the quick test) used was using some other funky encoding.

提交回复
热议问题