PHP ezmlm_hash() 函数

PHP 教程 · 2019-01-26 16:41:33

定义和用法

ezmlm_hash() 函数用于在 MySQL 数据库中保存 EZMLM 邮件列表的哈希值。

该函数接收一个 Email 地址参数,返回一个整数哈希值。

语法


int ezmlm_hash ( string $addr )


参数 描述
addr 要进行哈希算法的电子邮件地址。

实例 1

计算邮件地址的哈希值:

实例

<?php $user = "someone@example.com"; $hash = ezmlm_hash($user); echo "$user 的哈希值为: $hash."; ?>

点击查看所有 PHP 教程 文章: https://codercto.com/courses/l/5.html

查看所有标签

Data Structures and Algorithms in Java

Data Structures and Algorithms in Java

Michael T. Goodrich、Roberto Tamassia / Wiley / 2010-01-26 / USD 177.41

* This newest edition examines fundamental data structures by following a consistent object-oriented framework that builds intuition and analysis skills of data structures and algorithms * Presents ne......一起来看看 《Data Structures and Algorithms in Java》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换