Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.

Paste

Pasted as PHP by zumsuk ( 14 years ago )
<?php
header('Content-type:text/html; charset=utf-8');
?>

<style>
div.icerik {background:#f6f6f6;border:1px solid #bfbfbf;padding:20px;overflow:hidden;display:block;width:930px;margin:0 auto;margin-top:10px;}
.yuvarla {-khtml-border-radius:4px; -ms-border-radius:4px; -o-border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; border-radius:4px;}
div.clear {clear:both;}
</style>


<div class="icerik yuvarla">
<form action="?i=g" method="post">
Site : <br><input type="text" name="site" value="http://localhost/ne/" id="site"><br><br>
Aranılacak sözcük : <br><input type="input" name="sozcuk" id="sozcuk"><br><br>
<input type="submit" value="Saçlarını Yol Getir">
</form>
</div>
<?php
class islem{
public function isle($t,$s){
    $bul = array('#[removed](.*?)[removed]#si','#<style(.*?)>(.*?)</style>#si');
    $cevir = array('','');
    $t = nl2br(strip_tags(preg_replace($bul, $cevir,file_get_contents&#40;$t&#41;)));
    $t = preg_replace('#(<br />\s*<br />)(?:\s*<br />)+#', "$1", $t);
    $t = str_replace("<br />","",$t);
    return $t;
}

}

if(isset($_POST['site'])){
    $a = explode('charset=',file_get_contents&#40;$_POST['site']&#41;);
    $coding = explode('"',$a['1']);
    header('Content-type:text/html; charset='.$coding['0']);
    echo '<pre>',islem::isle($_POST['site'],$_POST['sozcuk']),'</pre>';

}

?>

 

Revise this Paste

Children: 36723
Your Name: Code Language: