<?php if(isset($_POST['post'])) {
$veri = $_POST['post'];
$cumlex = explode("\n", $veri);
$ksayi = str_word_count($veri);
$sayi = 0;
while($sayi != $ksayi) {
if ($cumlex[$sayi] != '') {
$dizi = explode ("*",$cumlex[$sayi]);
echo 'Mail: '.$dizi[0].'<br>';
echo 'Şifre: '.$dizi[1].'<br>';
}
$sayi++;
}
} ?>
<form method="post" action="">
<textarea name="post"></textarea>
<input type="submit">
</form>