Code: Select all
<form method="post" action="http://scripts.dreamhost.com/add_list.cgi">
<input type="hidden" name="list" value="svn" />
<input type="hidden" name="domain" value="ta3d.darkstars.co.uk" />
<input type="hidden" name="emailit" value="1" />
E-mail: <input name="email" /><br />
<input type="submit" name="submit" value="Join the svn Announcement List" />
<input type="submit" name="unsub" value="Unsubscribe" />
</form>
I setup a html page with the forum here:
http://ta3d.darkstars.co.uk/list.html
While everything as is should run, this will need to be put into the main site.
Also, dreamhost allows you to specify a list of urls to custom pages so that youc an give a proper 'you have subscribed' type page, rather than seeing the default output of the cgi script.
Parameters are passed to these pages in the url as specified in the documentation. I have removed the name parameter from the form but it can be restored.Subscribe URL:
This page should say to check their email for a confirmation link. (optional)
Unsubscribe URL:
This page should say goodbye! (optional)
Already Subscribed URL:
This page should say you're already on this list. (optional)
Not Subscribed URL:
This page should say you're not on this list. (optional)
Invalid Email Address URL:
This page should say your address is malformed. (optional)
Confirmation URL:
This page should say welcome!
You can find the details here:
http://wiki.dreamhost.com/KB_/_Web_Prog ... iling_List[/quote]