/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if($_SERVER["HTTP_X_REQUESTED_WITH"] == 'XMLHttpRequest') { // Called from XMLHttpRequest }