Utilisation de cURL pour télécharger d'un site HTML source, mais l'obtention de fichier différent de celui prévu

Je suis en train d'utiliser cURL et PHP pour télécharger le code source HTML (comme il apparaît dans le navigateur) de ici. Mais au lieu de le code source, c'est renvoyée à la place (une méta lien d'actualisation fixé à 0).

<html>
    <head><title>Object moved</title></head>
    <body>
        <h2>Object moved to <a href="https://login.live.com/login.srf?wa=wsignin1.0&amp;rpsnv=11&amp;checkda=1&amp;ct=1321044850&amp;rver=6.1.6195.0&amp;wp=MBI&amp;wreply=http:%2F%2Fwww.windowsphone.com%2Fen-US%2Fapps%2Fea39f002-ac30-e011-854c-00237de2db9e&amp;lc=1033&amp;id=268289">here</a>.
        </h2>
    </body>
</html>

Je suis en train d'usurper le renvoi en-tête de la place, mais il semble que je suis en train de faire le mal. Le Code est ci-dessous. Toutes les suggestions? Grâce

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, 'http://www.windowsphone.com/en-US/apps/ea39f002-ac30-e011-854c-00237de2db9e');
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.6 (KHTML, like Gecko) Chrome/16.0.897.0 Safari/535.6'); 
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
curl_setopt($ch, CURLOPT_AUTOREFERER, false);
curl_setopt($ch, CURLOPT_REFERER, "http://www.windowsphone.com/en-US/apps/ea39f002-ac30-e011-854c-00237de2db9e");

$html = curl_exec($ch);
curl_close($ch);
J'ai un sentiment que j'ai répondu à celui-ci avant: stackoverflow.com/questions/8046907/...

OriginalL'auteur user954912 | 2011-11-11