Answers for "how to chack a request is ajax or not from broser"

PHP
2

check if ajax request php

if(!empty($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest') {
	/* special ajax here */
	die($content);
}
Posted by: Guest on August-31-2020

Code answers related to "how to chack a request is ajax or not from broser"

Browse Popular Code Answers by Language