ezmlm_hash
(PHP 3>= 3.0.17, PHP 4 >= 4.0.2, PHP 5)
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 iscrivere un utente
<?php $utente = "pippo@example.com"; $hash = ezmlm_hash($utente); $query = sprintf("INSERT INTO esempio VALUES (%s, '%s')", $hash, $utente); $db->query($query); // tramite l'interfaccia db PHPLIB ?>
|
|