3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ?> <!-- ================================================= --> <HTML> <HEAD> <TITLE>Mailman Mailing Lists</TITLE> <BODY> Here are the URLs of the web management interfaces of our mailing lists implemented via the <A HREF="https://wiki.jct.ac.il/cc-admin/index.php/Mail/Mailman">Mailman</A> software. Each list has 2 interfaces: <OL> <LI>Moderator -- for accepting/rejecting posts, subscription requests, etc.</LI> <LI>Administration -- for other management.</LI> </OL> <TABLE border="1"> <!-- ================================================= --> <?php $prefix = "http://newmda.jct.ac.il/mailman"; $admin = "admin"; $moderator = "admindb"; exec ("/usr/lib/mailman/bin/list_lists -b", $lists); while( list(,$row) = each($lists) ) { $row_array = explode(" ", $row); $n= $row_array[0]; echo <<<END <TR><TD>$n</TD> <TD><A HREF="$prefix/$admin/$n">Administration</A></TD> <TD><A HREF="$prefix/$moderator/$n">Moderator</A></TD> </TR> END; } ?> <!-- ================================================= --> </TABLE> </BODY> </HTML>
Output for 7.2.0
<!-- ================================================= --> <HTML> <HEAD> <TITLE>Mailman Mailing Lists</TITLE> <BODY> Here are the URLs of the web management interfaces of our mailing lists implemented via the <A HREF="https://wiki.jct.ac.il/cc-admin/index.php/Mail/Mailman">Mailman</A> software. Each list has 2 interfaces: <OL> <LI>Moderator -- for accepting/rejecting posts, subscription requests, etc.</LI> <LI>Administration -- for other management.</LI> </OL> <TABLE border="1"> <!-- ================================================= --> Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /in/ZbRZs on line 28 <!-- ================================================= --> </TABLE> </BODY> </HTML>
Output for 5.3.21 - 7.1.10
<!-- ================================================= --> <HTML> <HEAD> <TITLE>Mailman Mailing Lists</TITLE> <BODY> Here are the URLs of the web management interfaces of our mailing lists implemented via the <A HREF="https://wiki.jct.ac.il/cc-admin/index.php/Mail/Mailman">Mailman</A> software. Each list has 2 interfaces: <OL> <LI>Moderator -- for accepting/rejecting posts, subscription requests, etc.</LI> <LI>Administration -- for other management.</LI> </OL> <TABLE border="1"> <!-- ================================================= --> <!-- ================================================= --> </TABLE> </BODY> </HTML>