Allow people to subscribe to more than one list at once
This is a complete (but bare bones) example on how to create a form with a bunch of checkboxes that will allow people to subscribe to more than one list at a time. Upload multiple_subscribe.cgi to your dada directory and chmod 755 it.
change what's in @lists to reflect what lists you want people to subscribe to, Example, if I wanted people to have a choice of subscribing to 'The Justin List' and 'The Dan List', I would put inside the array:
my @lists = ('The Justin List', 'The Dan List');
look for the needed DADA Libraries, we're assuming that you're putting in the same directory as the mail.cgi script itself, if not you'll need change the below to reflect where the dada directory is example: use lib '/usr/home/justin/public_html/cgi-bin/dada';
Copyright (c) 1999 - 2006 Justin Simoni http://justinsimoni.com All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.