cvs: phpdoc-da /reference/mail/functions ezmlm-hash.xml

[email protected] ("Jesper Laursen") Sat, 02 Oct 2004 14:22:03 -0000
Newsgroups php.doc.da
Message-ID <cvslauer1096726923@cvsserver>
lauer		Sat Oct  2 10:22:03 2004 EDT

  Added files:                 
    /phpdoc-da/reference/mail/functions	ezmlm-hash.xml 
  Log:
  Initial translation
  

http://cvs.php.net/co.php/phpdoc-da/reference/mail/functions/ezmlm-hash.xml?r=1.1&p=1
Index: phpdoc-da/reference/mail/functions/ezmlm-hash.xml
+++ phpdoc-da/reference/mail/functions/ezmlm-hash.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.16 Maintainer: lauer Status: ready -->
  <refentry id="function.ezmlm-hash">
   <refnamediv>
    <refname>ezmlm_hash</refname>
    <refpurpose>Beregner den hash-værdi EZMLM kræver</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Beskrivelse</title>
     <methodsynopsis>
      <type>int</type><methodname>ezmlm_hash</methodname>
      <methodparam><type>string</type><parameter>addr</parameter></methodparam>
     </methodsynopsis>
    <simpara>
     <function>ezmlm_hash</function> beregner den hash-værdi deres skal bruges
     for at beholde EZMLM mailinglister i en MySQL database.
    </simpara>
    <para>
     <example>
      <title>Beregner en hash og tilmelder en bruger</title>
      <programlisting role="php">
<![CDATA[
<?php

$user = "[email protected]";
$hash = ezmlm_hash($user);
$query = sprintf("INSERT INTO sample VALUES (%s, '%s')", $hash, $user);
$db->query($query); // using PHPLIB db interface

?>
]]>
      </programlisting>
     </example>
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->