[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl-WebCGI] Text area problem



[This one got delayed; Majordomo thought it was a subscription request -
vlb]

Original message:

I have a perl cgi form which when is submitted subscribes users to
a mailing list using an HTML form, this is done by

 subscribe $Config{'email1'}  $Config{'name1'}\n

so it subscribes an email address and a name.

However, I want it so a text area with about 3 names and email
addesses in such as-

<TEXTAREA NAME="new_message" ROWS=7 COLS=20>james
fox james@djassociates.com
any name any@name.com
</TEXTAREA>

is submitted to the cgi script, this then converts it to an email to
read -
subscribe james fox james@djassociates.com
subscribe any name any@name.com
etc.

putting 'subscribe' infront of each name and email in the textarea.

how do you reckon I could do this?

thanks
James


~  James Fox
~  james@djassociates.com
~  +44 (0) 114 2210525
-- --
       |\      _,,,---,,_       Vicki Brown <vlb@cfcl.com>
 ZZZzz /,`.-'`'    -.  ;-;;,_   Journeyman Sourceror: Scripts & Philtres
      |,4-  ) )-,_. ,\ (  `'-'  P.O. Box 1269  San Bruno  CA  94066
     '---''(_/--'  `-'\_) http://www.cfcl.com/~vlb  http://www.macperl.org

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org