Return to Snippet

Revision: 16880
at August 18, 2009 05:27 by level09


Initial Code
if(!empty($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest'){
	//If AJAX Request Then
}else{
//something else
}

Initial URL

                                

Initial Description

                                

Initial Title
Detect Ajax request

Initial Tags

                                

Initial Language
PHP