function getExt($file) {
return pathinfo($file, PATHINFO_EXTENSION);
}
PHP
<iframe width="100%" height="236" src="http://sykius.fr/snippetvamp/snippetvamp.php?embed=521dc1a973cf9" type="text/html"></iframe>
Text only - Permalink - Snippet public post date 28/08/2013