(PHP 3>= 3.0.17, PHP 4 >= 4.0.2)
ezmlm_hash -- Calcola il valore hash che occorre a EZMLM
Descrizione
int ezmlm_hash
(string addr)
ezmlm_hash() calcola il valore hash che occorre
quando si mantengono mailing list EZMLM in un database MySQL.
Esempio 1. Calcolare l'hash e sottoscrivere un utente
$utente = "kris@koehntopp.de";
$hash = ezmlm_hash ($utente);
$query = sprintf ("INSERT INTO esempio VALUES (%s, '%s')", $hash, $utente);
$db->query($query); // tramite l'interfaccia db PHPLIB
|
|