Merhaba arkadaşlar.
bu sitedeki linkleri almak istiyorum fakat bir türlü beceremedim. hata veriyor.
site: http://www.uswebsitecreations.com/google_image_grabber/index.php?q=advance_search&as_st=y&tbm=isch&hl=en&as_q=oyun&imgc=value&safe=on&as_rights=not+filtered+by+license

mesela şöyle basit birşey denedim olmadı.

$icerik ="http://www.uswebsitecreations.com/google_image_grabber/index.php?q=advance_search&as_st=y&tbm=isch&hl=en&as_q=oyun&imgc=value&safe=on&as_rights=not+filtered+by+license";
$bot =file_get_contents($icerik);
echo $bot;


?>

verdiği hatada bu
Parse error: syntax error, unexpected '$icerik' (T_VARIABLE) in D:\zaa\htdocs\wp6\imagedeneme.php on line 3

internettede şöyle bir bot yapılmış bunuda denedim yine olmadı.
header('Content-Type: text/html; charset=utf-8');


if($_POST) {

$query = urlencode($_POST['query']);
$url = "http://www.uswebsitecreations.com/google_image_grabber/index.php?q=advance_search&as_st=y&tbm=isch&hl=en&as_q={$query}&imgc=value&safe=on&as_rights=not+filtered+by+license";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, "");
$icerik = curl_exec($ch);
curl_close($ch);
$resimler = array();
foreach(json_decode($icerik) as $resim) {
array_push($resimler, $resim->imgurl);
$content .= '[caption id="" align="alignnone" width="502"]takipçi satın al takipçi satın al[/caption]
';
}
}



?>







resim to Wordpress




















resim to Wordpress






foreach($resimler as $link) {
echo '';
}
?>