LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Wed, 10 Oct 2001 21:24:23 -0400
text/plain (65 lines)
Hi Michael,
Thanks for the reply. I think I figured out a relatively simple way of doing
this as well as searching the database with simple one field forms that pass
the info back to wa.pl. If you would like to take a look for your own
purposes it is at www.datacom-equipment.com

Thank you,

Mike


-----Original Message-----
From: LISTSERV give-and-take forum
[mailto:[log in to unmask]]On Behalf Of Michael Shannon
Sent: Wednesday, October 10, 2001 3:00 AM
To: [log in to unmask]
Subject: Re: Simple HTML coding for add user button


>
>I am familiar with html and forms and all. I am just having a
>problem with
>coding a simple add user button that will ask only their
>e-mail address and
>add them to the list as Anonymous as name. Could anyone help
>me with that.
>

There are a couple of ways to do this.  You could simply drop a hyperlink
into your page that looks like this:

<ahref="mailto:[log in to unmask]
ymous">Subscribe to the list</a>

Insert your LISTSERV address and listname in the appropriate places.  When
they click on the link it will open a new email message and populate To:
field and the message body with the appropriate text.  Then all they need to
do is send it.  The downfall with this is you have no direct control over
the From: field which is what LISTSERV reads to determine the subscriber
address.  If you're pretty good with CGI there's most likely a simple way to
create a form that captures the input and then formats a mail message with
the correct From: address.  I'm not a UNIX expert so I can't help with that
(judging from your earlier emails I'm assuming that's the platform you're
using).

The second option depends on whether or not you have web access enabled.
You could whip up a fairly simple javascript that would capture the email
address from a form input and then pass it to WA.EXE.  This would accomplish
everything in one hit.  I don't have any sample code to give you right now
but if you'd like to see something mail me privately and I'll see what I can
put together.

Chazzozz!!

Michael Shannon
Webmaster
[log in to unmask]

"Before you can grow old and wise you must first survive being young and
stupid." - Ancient Proverb

Note: Opinions expressed on this list are my own and do not reflect the
views, opinions or position of my employer.  If swallowed, seek medical
advice.

ATOM RSS1 RSS2