Bonjour


Je suis nouveau ici, j’espère poster dans la bonne section.

J'ai un petit projet personnel. Je vous explique tout ça.

Je voudrais pouvoir récupérer divers Screenshots sur plusieurs site différent et les implanter directement dans mon site.

La page de test sur mon site: http://tamkha.byethost24.com/index/n...rap/index2.php

Ce qui pose problème est: Object moved to here.

Je voudrais récupérer tous les screenshots qui se trouve ici http://fr.socialclub.rockstargames.c.../ps4/snapmatic


Le code que j'ai utilisé

<?php
$ch = curl_init('http://fr.socialclub.rockstargames.com/member/tamkha/games/gtav/ps4/snapmatic');
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_NOBODY, FALSE);

//curl_setopt($ch, CURLOPT_HEADER, TRUE) ; // Pour obtenir en plus les en-têtes
$response = curl_exec($ch);
curl_close($ch);
echo $response;

?>

Avec un server Wamp j’obtiens le même résultat.

Merci d'avance.