/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// If the request did not come from AJAX, exit: if($_SERVER['HTTP_X_REQUESTED_WITH'] !='XMLHttpRequest'){ exit; }