PHP ezmlm_hash() 関数

❮ PHP Mail リファレンス

電子メールアドレスのハッシュ値を計算します:

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

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

定義と用法

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);

パラメータ 説明
address 必須。email address being hashedを指定する

技術内容
返り値: Returns the hash value of the address parameter, or FALSE on failure
PHP バージョン: 4.0.2+

❮ PHP Mail リファレンス