function ara($bas, $son, $yazi)
{
@preg_match_all('/' . preg_quote($bas, '/') .
'(.*?)'. preg_quote($son, '/').'/i', $yazi, $m);
return @$m[1];
}

$link =www.siteadresi.com ;
$icerik = file_get_contents("$link");
$baslik = ara("", "", $icerik);

$baslik = preg_replace('#