[Mailman-Users] Great Work!

a.marcedone@portamagica.it alberto at portamagica.it
Mon Mar 19 16:28:47 CET 2001


GREAT! WORK very fine!

and... to add other 2 or 3 fields?
I Think:

Add the fiels after Uname and reason in listinfo.html, e.g.
<td BGCOLOR="#dddddd">Enter your name:</td>
<td><INPUT type="Text" name="uname" size="30"></td>
<tr><td BGCOLOR="#dddddd">How did you hear about us?</td>
<td><INPUT type="text" name="reason" size="60"></td>
<tr><td BGCOLOR="#dddddd">Enter your address?</td>
<td><INPUT type="text" name="address" size="60"></td>
<tr><td BGCOLOR="#dddddd">Enter your phone number?</td>
<td><INPUT type="text" name="phone" size="60"></td>
      <tr>

add the field in the cgiprogram at this point:
  echo "  Name: $FORM_uname" >> /tmp/$_TEST
  echo " Email: $FORM_email" >> /tmp/$_TEST
  echo "Reason: $FORM_reason" >> /tmp/$_TEST
# added this line:
  echo "Address: $FORM_address" >> /tmp/$_TEST
  echo "Phone: $FORM_phone" >> /tmp/$_TEST
#stop added line
  echo "" >> /tmp/$_TEST

I Think no change in procCgi program.

Great work. Bravo.

Alberto Marcedone,
Italy


----- Original Message -----
From: "Bob Puff at NLE" <bob at nleaudio.com>
To: <mailman-users at python.org>
Sent: Monday, March 19, 2001 5:50 AM
Subject: [Mailman-Users] Getting subscriber names


> Hi Gang,
>
> I just finished a little shell script that adds a few more fields to the
subscription
> process (like name and reason for subscribing), then emails them to the
list admin.
> You can check it out at:
> http://nleaudio.com/bnotes/mailman.htm
>
> Bob
>
>
> ------------------------------------------------------
> Mailman-Users maillist  -  Mailman-Users at python.org
> http://mail.python.org/mailman/listinfo/mailman-users
>






More information about the Mailman-Users mailing list