function file_get_contents_curl($url) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $url);
$data = curl_exec($ch);
curl_close($ch);
return $data;
}
fonctions php
<iframe width="100%" height="398" src="http://snipet.teknotit.com/index.php?embed=544094a3a27ba" type="text/html"></iframe>
Texte seul - Permalink - Snippet public posté le 17/10/2014