摘要: PHP Ajax 跨域问题最佳解决方案 1、允许单个域名访问 指定某域名(http://client.runoob.com)跨域访问,则只需在http://server.runoob.com/server.php文件头部添加如下代码: header('Access-Control-Allow-Ori 阅读全文