php设置头部让任何域名请求

 header("Access-Control-Allow-Origin: *"); // 允许任意域名发起的跨域请求...

原文地址:https://www.cnblogs.com/weiyiyong/p/7614111.html