array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'function.ezmlm-hash.php', 1 => 'ezmlm_hash', ), 'up' => array ( 0 => 'ref.mail.php', 1 => 'Eposta İşlevleri', ), 'prev' => array ( 0 => 'ref.mail.php', 1 => 'Eposta İşlevleri', ), 'next' => array ( 0 => 'function.mail.php', 1 => 'mail', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'tr', 'path' => 'reference/mail/functions/ezmlm-hash.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.0.2, PHP 5, PHP 7)
ezmlm_hash — EZMLM için gereken ileti özetini hesaplar
Bu işlevin kullanımı PHP 7.4.0 itibariyle ÖNERİLMEMEKTE olup PHP 8.0.0'da tamamen KALDIRILMIŞTIR. Bu işleve kesinlikle güvenilmemelidir.
ezmlm_hash() işlevi EZMLM eposta listelerini bir MySQL veritabanınıda tutarken gereken ileti özetini hesaplar.
adres
Özeti hesaplanacak eposta adresi.
adres
ile belirtilen eposta adresinin özetini bir
dizge olarak döndürür.
Örnek 1 - Adres özetinin hesaplanıp bir kullanıcının üye yapılması
<?php
$adres = "joecool@example.com";
$özet = ezmlm_hash($adres);
$sorgu = sprintf("INSERT INTO sample VALUES (%s, '%s')", $özet, $adres);
$db->query($sorgu); // PHPLIB db arayüzü kullanılarak
?>