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@NLE" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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  -  [EMAIL PROTECTED]
> http://mail.python.org/mailman/listinfo/mailman-users
>



------------------------------------------------------
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users

Reply via email to