ezmlm_hash

(PHP 3>= 3.0.17, PHP 4 >= 4.0.2)

ezmlm_hash -- PoΦφtß hash hodnotu pot°ebnou pro EZMLM

Popis

int ezmlm_hash ( string addr)

ezmlm_hash() PoΦφtß hash hodnotu, kterß je pot°eba pro uchovßvßnφ EZMLM mailing list∙ v MySQL databßzi.

P°φklad 1. V²poΦet hashe a p°ihlß╣enφ u╛ivatele

$user = "kris@koehntopp.de";
$hash = ezmlm_hash ($user);
$query = sprintf ("INSERT INTO sample VALUES (%s, '%s')", $hash, $user);
$db->query($query); // pou╛ito databßzovΘ rozhranφ PHPLIB