git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@84866 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Alessander Pery Lopes Thomaz 2002-06-06 19:24:59 +00:00
parent 66fb39c78d
commit 0e9d410391

View file

@ -1,30 +1,30 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/mail.xml, last change in rev 1.4 -->
<refentry id="function.ezmlm-hash">
<refnamediv>
<refname>ezmlm_hash</refname>
<refpurpose>Calcula o valor hash necessário para EZMLM</refpurpose>
<refpurpose>Calculate the hash value needed by EZMLM</refpurpose>
</refnamediv>
<refsect1>
<title>Descrição</title>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>ezmlm_hash</methodname>
<methodparam><type>string</type><parameter>addr</parameter></methodparam>
</methodsynopsis>
<simpara>
<function>ezmlm_hash</function> calcula o valor hash necessário
para manter listas de discussão EZMLM com o banco de dados MySQL.
<function>ezmlm_hash</function> calculates the hash value needed
when keeping EZMLM mailing lists in a MySQL database.
</simpara>
<para>
<example>
<title>Calcula o valor hash para increver um usuário</title>
<title>Calculating the hash and subscribing a user</title>
<programlisting>
<![CDATA[
$user = "nome@exemplo.com";
$user = "joecool@example.com";
$hash = ezmlm_hash ($user);
$query = sprintf ("INSERT INTO sample VALUES (%s, '%s')", $hash, $user);
$db->query($query); // usando a interface PHPLIB db
$db->query($query); // using PHPLIB db interface
]]>
</programlisting>
</example>
@ -51,4 +51,4 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->