Hkan adlı üyeden alıntı: mesajı görüntüle
Bu kod yerine:

$site = print adresDownload("http://en.wikipedia.org/w/index.php?title=Aortoiliac_occlusive_disease&printable=yes");

$title = explode('<p> ', $site);

$title = explode('</p>', $title[1]);
Bunu kullanın:

$site = adresDownload("http://en.wikipedia.org/w/index.php?title=Aortoiliac_occlusive_disease&printable=yes");

preg_match_all('~<p>(.*?)</p>~si', $site, $title);
<?php

function adresDownload($Url){

if (!function_exists('curl_init')){

die('CURL yüklü degil!');

}

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, $Url);

curl_setopt($ch, CURLOPT_REFERER, "http://www.google.com/");

curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729) (Prevx 3.0.5)  ");

curl_setopt($ch, CURLOPT_HEADER, 0);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

curl_setopt($ch, CURLOPT_TIMEOUT, 10);

$cikti = curl_exec($ch);

curl_close($ch);

return $cikti;

}


$site = adresDownload("http://en.wikipedia.org/w/index.php?title=Aortoiliac_occlusive_disease&printable=yes");

preg_match_all('~<p>(.*?)</p>~si', $site, $title);

?>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<?php

echo $title[0];

?>
Cevabın için teşekkürler fakat:

Array

olarak dönüyor sayfaya.