Computer >> Computer tutorials >  >> Programming >> PHP

ezmlm_hash() function in PHP


The ezmlm_hash() function calculates the hash value needed when keeping EZMLM mailing lists in a MySQL database.

Syntax

ezmlm_hash(addr);

Parameters

  • addr − The email address being hashed.

Return

The ezmlm_hash() function returns the hash value of addr.

Example

The following is an example −

<?php
   $username = "[email protected]";
   $hash = ezmlm_hash($username);
?>