ezmlm_hash

Calculate the hash value needed by EZMLM

&warn.deprecated.function-7-4-0.removed-8-0-0;
&reftitle.description; `int` `ezmlm_hash` `string` `addr`

`ezmlm_hash` calculates the hash value needed when keeping EZMLM mailing lists in a MySQL database.

&reftitle.parameters;

`addr`

- The email address that's being hashed.

&reftitle.returnvalues;

The hash value of `addr`.

&reftitle.examples;

### Calculating the hash and subscribing a user

    <?php

    $user = "joecool@example.com";
    $hash = ezmlm_hash($user);
    $query = sprintf("INSERT INTO sample VALUES (%s, '%s')", $hash, $user);
    $db->query($query); // using PHPLIB db interface

    ?>