logo SnippetVamp

php 141css 88fonctions 82astuce 77javascript 70html 56fichiers 35jquery 31securite 19texte 17bootstrap 14parser 14debug 12graphisme 11python 11responsive 8pluXML 7bash 6PHP 6crossbrowser 4vanilla 4ajax 3mail 3markdown 3mobile 3regex 3apache 2auto_ 2browser 2conversion 2error 2evenements 2excel 2form 2ips 2lib 2linux 2SQL 2vba 2cinema 1compteur 1dothtaccess 1effets 1erreurs 1fallback 1filter 1images 1pluxml 1social 1SQLite 1xml 1
SnippetVamp 3.1b - 2025 - GNU GPL - FAQ
#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