logo SnippetVamp

php 97fonctions 77astuce 69css 52html 43javascript 41fichiers 29jquery 27securite 17texte 16bootstrap 14parser 13debug 11graphisme 11python 10responsive 8pluXML 5crossbrowser 4vanilla 4ajax 3TODO 2auto_ 2conversion 2evenements 2form 2lib 2markdown 2mobile 2bash 1dothtaccess 1effets 1erreurs 1fallback 1filter 1mail 1social 1
Bronco - SnippetVamp 3.0beta - 2021 - GNU GPL - Download
#key - Détecter si une requête vient d'ajax
if(!emptyempty($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest'){  
    //If AJAX Request Then  
}else{  
//something else  
}  
			
astuce php
http://webdeveloperplus.com/php/21-really-useful-handy-php-code-snippets/
public - 16/04/2013 - Add to pack - texte seul - permalink