当前位置:Gxlcms >
数据库问题 >
ajax跨域之设置Access-Control-Allow-Origin
ajax跨域之设置Access-Control-Allow-Origin
时间:2021-07-01 10:21:17
帮助过:4人阅读
$arr = getallheaders();
foreach($arr as $key=>$val){
$data[$key] = $val;
}
echo json_encode($data);
exit;
}
ajax跨域之设置Access-Control-Allow-Origin
标签: