sonunda oldu
<?PHP
header('Content-Type: text/html; charset=UTF-8');
if (!empty($_POST["metin"]))
{
$kaynak = file_get_contents($_POST['metin']);
$icerik = '#<a href="http://hotfile.com(.*?).html" target="_blank">#si';
preg_match_all($icerik,$kaynak,$dicerik);
$dicerik = $dicerik[1];
$news_total=count($dicerik);
$i=0;
while($i <= $news_total){
Echo '
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Hotfile Link Yakala</title>
<head>
<body>
</body>
</html>
';
//Hotfile Link Yakalayıcı//
echo "<center>http://hotfile.com".$dicerik[$i].".html</br></center>";
$i++;
}
Echo '
<p align="center">
<br>
<form action="cek.php" method="post">
<p align="center">
<tr><td>
URL Gir<br>
<textarea name="metin" rows="3" cols="100">' . $_POST["metin"] . '</textarea></td>
<br>
<br>
<input type="submit" value=" Cek Ulen " />
</p>
</form>
</p>
';
} else {
Echo '
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" />
<title>Hotfile Link Yakala</title>
<body><br>
<form action="cek.php" method="post">
<p align="center">
<tr><td><textarea name="metin" rows="3" cols="100"></textarea></td>
<br>
<br>
<input type="submit" value=" Cek Ulen " />
</p>
</form>';
}
;
?>