经过垂死挣扎般的查询,终于完美解决了! 原因是 html和php在一个端口,却没有用同一个域名导致的! 配置到同一个域名下方可解决!~~ 转载于:https://my.oschina.net/mouthliu/blog/1526538