Hello prog' !
Je n'arrive pas à faire une simple requête pour avoir le contenu html de cette page
http://ces16.mapyourshow.com/6_0/exhibitor/exhibitor-details.cfm?ExhID=T0001465
Pourquoi 
J'utilise
$html = file_get_html('http://ces16.mapyourshow.com/6_0/exhibitor/exhibitor-details.cfm?ExhID=T0001465l');
qui me retourne
<!DOCTYPE html>
<script type="text/javascript">
window.onload = function () {
var flashInstalled = false;
// Internet Explorer supports the mimeTypes collection, but it is always empty
if (navigator.mimeTypes && navigator.mimeTypes.length > 0) {
var mime = navigator.mimeTypes['application/x-shockwave-flash'];
if (mime && mime.enabledPlugin) {
flashInstalled = true;
}
} else {
if (typeof (ActiveXObject) != "undefined") {
// Internet Explorer
try {
var flash = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.1");
flashInstalled = true;
}
catch (e) {
}
}
}
if (flashInstalled) {
location.replace('/6_0/includes/_flashcheck.cfm?hasflash=true&refurl=%2F6%5F0%2Fexhibitor%2Fexhibitor%2Ddetails%2Ecfm%3FExhID%3DT0000718&CFID=133469705&CFTOKEN=a4118691060c6d76-F974B48F-B653-E5E8-A5F7620D64993422');
} else {
location.replace('/6_0/includes/_flashcheck.cfm?hasflash=false&refurl=%2F6%5F0%2Fexhibitor%2Fexhibitor%2Ddetails%2Ecfm%3FExhID%3DT0000718&CFID=133469705&CFTOKEN=a4118691060c6d76-F974B48F-B653-E5E8-A5F7620D64993422');
}
};
</script>
<noscript>
<meta http-equiv="Refresh" content="0;URL=/6_0/exhibitor/exhibitor-details.cfm?ExhID=T0000718&CFID=133469705&CFTOKEN=a4118691060c6d76-F974B48F-B653-E5E8-A5F7620D64993422">
</noscript>
au lieu d'une page entière html 
aussi j'ai utilisé une autre méthode avec curl_exec et ça ne me retourne rien
Help 
Message édité le 05 août 2015 à 21:33:42 par Glosoli