Subversion Repositories Applications.papyrus

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1290 alexandre_ 1
<?php
2
 
3
include_once 'ezmlm-php-2.0/ezmlm-parser.php' ;
4
 
5
 
6
// Parametrage de la liste
7
$info = new ezmlm_parser();
8
if (!$info) return 'Les fichiers de la liste ne sont pas visible sur le serveur' ;
9
$info->forcehref = $url;
10
$info->listdir = '/home/vpopmail/domains/'.$domaine.'/'.$liste ;
11
$info->listname = $liste;
12
$info->listdomain = $domaine ;
13
 
14
echo '<pre>';
15
var_dump($info->recent_msgs());
16
echo '</pre>';
17
/*include_once 'XML/Util.php' ;
18
 
19
$xml = XML_Util::getXMLDeclaration('1.0', 'ISO-8859-15', 'no') ;
20
 
21
$xml .= XML_Util::createStartElement ('ezmlm_derniers_messages', array('domaine' => $domaine, 'liste' => $liste, 'langue' => $langue)) ;
22
 
23
$xml .= '<![CDATA[ '.$html.']]>';
24
 
25
$xml .= XML_Util::createEndElement('ezmlm_derniers_messages') ;
26
header ('Content-type: text/xml');
27
echo $xml ;*/
28
?>