Forum und email

ezmlm_hash

(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.

Example#1 Calcolare l'hash e iscrivere un utente

<?php
$utente 
"[email protected]";
$hash ezmlm_hash($utente);
$query sprintf("INSERT INTO esempio VALUES (%s, '%s')"$hash$utente);
$db->query($query); // tramite l'interfaccia db PHPLIB
?>