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.";
?>
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.
ezmlm_hash(
address);
Parameter | Description |
---|---|
address | Required. Specifies the email address being hashed |
Return Value: | Returns the hash value of the address parameter, or FALSE on failure |
---|---|
PHP Version: | 4.0.2+ |
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!