[Mailman-Developers] Piping Mailman's HTML through PHP

Fil fil at rezo.net
Fri Jul 23 21:03:14 CEST 2004


> > Better way in my view is to write a wrapper script in php, that does the
> > graphics and such things, then pushes the web page. You get the wrapper to
> > work in lieu of the cgi by configuring Apache to do so (RewriteRule, or
> > Alias).
> 
> This is an idea.  Frames is another.  But if you want to
> have access to the Mailman substitution tags as well as
> PHP then these ideas don't work.

Oh yes it can work: just use

<?php $page = file('http://localhost/cgi/pipermail.....'); ?>

and you'll get (through http) the file processed by Mailman's CGI, which you
can then process by php. I do that, for example, to generate the list of
lists at http://listes.rezo.net/listes.php


-- Fil



More information about the Mailman-Developers mailing list