<?
function file_get_content($filename) {
$fd = fopen("$filename", "rb");
$content = fread($fd, filesize($filename));
fclose($fd);
return $content;
}
$oku=file_get_content("deneme.html");
$pattern="/<title>(.*?)<\/title>/is";
preg_match_all($pattern, $oku, $matches,PREG_SET_ORDER);
$icerik = trim($matches[0][1]);
$icerik = addslashes($icerik);
echo"$icerik";
?>Edit sorun yaşama diye bide addslashes ekledim