/ Published in: PHP
Expand |
Embed | Plain Text
$isAjax = (!empty($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest');
You need to login to post a comment.
shodan_uk on 03/30/11
2 people have marked this snippet as a favorite
$isAjax = (!empty($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest');
You need to login to post a comment.