Script that saves subscribers emails to my server database?

SeoQuest

Junior Member
Joined
Jun 24, 2012
Messages
149
Reaction score
43
I want to put a simple email subscription web form on my site where the visitors can put their email address, click 'subscribe button, and get message for successful subscription. And i want to save the emails in the database on my server. Any one know for a free script that can do this?
 
Isn't using something like MailChimp an option for you? This would be the most straight forward way to do this I guess.

Do you know PHP? In this case you could just write a script which allows a POST request, saves the posted data to your database and sends out an E-Mail automated.
Then you'd need a JavaScript which (on form submit) would do an ajax post request to your PHP script with the form data.

I don't know if there are any ready to use scripts for this and hard to say without knowing what exactly is the form data and how it should be processed.

Cheers, Mo.
 
http://www.html-form-guide.com/php-form/php-form-processing.html Follow this tutorial. Just change the 'movie' stuff with 'email' and remove all the unnecessary fields / variables (and the select drop down). A zip file with the full script is at the bottom of the page.
 
Back
Top