php myAdmin mysql <? ?>

BROWSER-BASED * PHP5 SUPPORT * MYSQL 4.1 AND MYSQL 5.0 SUPPORT * OPEN SOURCE
PHP ve MySQL - En Yararlı Türkçe Kaynak
Kullanıcı Adınız : Kullanıcı Parolanız : Hatırla :    Kayıt   Şifremi Unuttum

Toplu mail göndermek 2

Eklenme Tarihi : 26.10.2008 | Okunma Sayısı : 3444

<? 
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 <info@pehepe.org>\n";  
$ustk                .= "X-Sender: <info@pehepe.org>\n";  
$ustk                .= "X-Mailer: PHP\n";  
$ustk                .= "X-Priority: 3\n";  
$ustk                .= "Return-Path: <info@pehepe.org>\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)); 
}  
?> 
DB den gelen mail listesine aynı anda mail atmak için kullanılır.
Hepsini Görüntüle...

php mysql php oracle ajax apache xml cozumleri w3c xhtml w3c css JavaScript Object Notation