function is_ajax_request(){
return !(empty($_SERVER['HTTP_X_REQUESTED_WITH']) || strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) != 'xmlhttprequest');
}
fonctions php
<iframe width="100%" height="254" src="http://snipet.teknotit.com/index.php?embed=54409b4bdb4de" type="text/html"></iframe>
Texte seul - Permalink - Snippet public posté le 17/10/2014