PHP ezmlm_hash()Functions

PHP Mail 参考手册Complete PHP Mail Reference Manual


Definition and Usage

The ezmlm_hash() function is used to save the hash value of EZMLM mailing lists in a MySQL database.

This function receives an Email address parameter and returns an integer hash value.

Syntax

int ezmlm_hash ( string $addr )

Parameters Description
addr The email address to be hashed.

Example 1

Calculate the hash value of an email address:

Example

<?php $user = "someone@example.com"; $hash = ezmlm_hash($user); echo "$userThe hash value is:$hash."; ?>


PHP Mail 参考手册Complete PHP Mail Reference Manual

Other Extensions