您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

php 判断是否是ajax请求

2025/9/29 12:05:00发布18次查看
无详细内容 无 function isajax() { if(isset($_server['http_x_requested_with']) ) { if('xmlhttprequest' == strtolower($_server['http_x_requested_with'])) return true; } //如果参数传递的参数中有ajax if(!empty($_post['ajax']) || !empty($_get['a
function isajax() { if(isset($_server['http_x_requested_with']) ) { if('xmlhttprequest' == strtolower($_server['http_x_requested_with'])) return true; } //如果参数传递的参数中有ajax if(!empty($_post['ajax']) || !empty($_get['ajax'])) return true; return false;}
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product