Listsub Script

From Campus Web Server Help

Jump to: navigation, search

Even though the UGA Web-based LISTSERV website provides a way for people to subscribe to discussion lists, you may wish to allow subscription to a specific list directly from a Web form.

To learn how to create a subscription form, see Webmasters Group Discussion List. View the source for this page and pay particular attention to these FORM tags:

  • Value of ACTION:
<FORM METHOD=post ACTION="/cgi-bin/listsub">

This ACTION assumes that your pages are on www.uga.edu. If your website is elsewhere (on another WWW server at UGA), use an absolute URL for the ACTION:

<FORM METHOD=post ACTION="http://www.uga.edu/cgi-bin/listsub.sh">
  • Value of the two input type="hidden" tags:

The value of listname is the name of the disccusion list for which the subscription is being requested. The value of lastlink is the URL of the page which includes the form and is used on the page displayed after the Subscribe button is pressed. For example, these tags look like this on the Webmasters Group Discussion List page:

<input type="hidden" name="listname" value="ugawww">
<input type="hidden"  name="lastlink" value="<a href=http://www.uga.edu/help/announce> Return to ugawww Subscription Request</a>">

Be sure to include input tags for e-mail, first name, and last name. Also, it is a good idea to tell subscribers how to unsubscribe from the list.

Views