Log in

View Full Version : need a script to submit email address



biomike
04-10-2008, 03:19 PM
Hi

I am looking for a script so that visitors can register their email address to go on my mailing list. i just want a small box on the frontpage to insert the email address and a submit button rather than a seperate enquiry form

any ideas please

thanks

Michael

hmsnacker123
04-10-2008, 03:25 PM
hi, there is lots if perl and php scripts you can do this with.

try here:

http://www.thefreecountry.com/php/mailing-list-scripts.shtml

hope i helped

boogyman
04-10-2008, 03:34 PM
creating the signup on the front page is a matter of you putting your html content where you want it. having the signup work be added to a "subscribers" list requires some sort of server-side language like PERL CGI / PHP / ASP etcetc...

Before you create the form you need to be sure your server supports such scripts, which you can find out from your host. If there are some restrictions or guidelines you need to follow to use a "canned" email script from your host be sure to follow them or your necessities wont work.

an example form signup is below


<form name="subscribeEmail" id="subscribeEmail" action="/path/to/script" method="post">
<p>
<input type="text" name="u_email" value="">
<input type="submit name="u_subscribe" value="Subscribe">
</p>
</form>


how that is than translated into the browser being added to the mailing list is up to the script that you submit this info to.