PHP Check is the method of Ajax request, PHP check AJAX request
The example in this article describes whether PHP checks are a method of Ajax requests. Share to everyone for your reference. Specific as follows:
This code can be used to determine whether a user's request is from an AJAX XMLHttpRequest to differentiate between ordinary post,get and Ajax.
function Isajax () {return (Isset ($_server[' Http_x_requested_with ') && ($_server[' http_x_requested_with ') = = ' XMLHttpRequest '));}
I hope this article is helpful to everyone's PHP programming.
http://www.bkjia.com/PHPjc/985280.html www.bkjia.com true http://www.bkjia.com/PHPjc/985280.html techarticle PHP Check is the method of Ajax request, PHP check Ajax request This article tells the PHP check is the method of Ajax request. Share to everyone for your reference. As follows: Through this paragraph ...