Kırık Link Bildir! #343541 07-09-2009 10:28 GMT-1 saat
<?
ob_start();
$tablo_adi = "";
$tablo_sutun = "";
$mail_sayi_sorgu = mysql_query("SELECT COUNT(*) FROM $tablo_adi");
list($mail_sayi_sonuc) = mysql_fetch_row($mail_sayi_sorgu);
mysql_free_result($mail_sayi_sorgu);
$basla = $_GET["basla"] ? $_GET["basla"] : 0;
$limit = 1;
$bekle = 2;
$konu = "";
$mesaj = "";
$ustk = "From: xxx <[email protected]>\\n";
$ustk .= "X-Sender: <[email protected]>\\n";
$ustk .= "X-Mailer: PHP\\n";
$ustk .= "X-Priority: 3\\n";
$ustk .= "Return-Path: <[email protected]>\\n";
$ustk .= "Content-Type: text/html; charset=iso-8859-9\\n";
$mail_sorgu = mysql_query("SELECT $tablo_sutun FROM $tablo_adi limit $basla,$mail_sayi_sonuc");
$mail_sonuc = mysql_fetch_object($mail_sorgu); mysql_free_result($mail_sorgu);
$mail_adres = $mail_sonuc->eposta;
mail($mail_adres, $konu, $mesaj, $ustk);
echo "<b> Alıcı : </b>$mail_adres <br>";
echo "<b>Gönderilen :</b> $basla <br>";
echo "<b>Kalan :</b>"; echo $mail_sayi_sonuc-$basla; echo " <br>";
if($mail_sayi_sonuc > $basla+$limit){
header("refresh: $bekle; url=index.php?basla=".($basla+$limit));
}
?>
Bunu ilk beğenen siz olun
Hata Oluştu