THE WORLD'S LARGEST WEB DEVELOPER SITE

PHP ezmlm_hash() Function

❮ PHP Mail Reference

Example

Calculate the hash value for an email address:

<?php
$user = "someone@example.com";
$hash = ezmlm_hash($user);

echo "The hash value for $user is: $hash.";
?>

Definition and Usage

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

This function accepts an email address, for which it calculates an integer hash value. This value is compatible with the EZMLM mailing list manager, and can then be used with the EZMLM database for user management.


Syntax

ezmlm_hash(address);

Parameter Description
address Required. Specifies the email address being hashed

Technical Details

Return Value: Returns the hash value of the address parameter, or FALSE on failure
PHP Version: 4.0.2+

❮ PHP Mail Reference