rendered paste body<?class olgar{ function ac($sayfa) { $ac=fopen($sayfa, "r"); $oku=fgets($ac,4096); preg_match("/<title>(.*)<\/title>/si",$oku,$title); return $title; } function html() { echo "<div align=center><form action='' method='POST'><input type='text' name='url' size='50'><input type='submit' value='OKU'></form>"; } function run() { $this->html(); if ($_POST) { echo "<div align=center>"; echo "Title: "; echo $this->ac($_POST['url']); echo "</div>"; } }}$Caesar=new olgar;$Caesar->run();?>