Return to Snippet

Revision: 32133
at September 19, 2010 05:21 by sb_01


Initial Code
// If the request did not come from AJAX, exit:
if($_SERVER['HTTP_X_REQUESTED_WITH'] !='XMLHttpRequest'){
	exit;
}

Initial URL

                                

Initial Description

                                

Initial Title
Only allow AJAX for a HTTP Request

Initial Tags
ajax, javascript, php, jquery

Initial Language
PHP