View Full Version : A script that collects email addresses?
danno
04-06-2007, 12:54 PM
Wonder if there is a script like a form, that allows users to the page to enter their email address so I can email them a promo or newsletter at a later date? In essence, a script or forn that "harvests" email addresses? I know there are newsletter programs to incorporate but if there are other ways or techniques or, SCRIPTS as I say, please mention them. Visit my index page www.danscartoons.com to understand. I could incorporate such a script into all of my 30 or more sub-pages for this purpose....
thetestingsite
04-06-2007, 10:08 PM
Do you want the email addresses to be saved in a text file, emailed to you, or saved in a database? I have wirtten one before that sends the info in an email to you, and I posted it on the forums before. I will look for that, and post the link (Please note that it is written in PHP, so you will need to have PHP running on your server). Also, there are tons of remotely hosted services that allow you to do this. You could try searching through Hotscripts.com for this.
Hope this helps.
mburt
04-06-2007, 10:22 PM
I think a database would be the best approach. Insert the e-mail into a database, then call all the addresses from the database and use some sort of mail function.
Flat files would be pretty simply, as long as it only contained one parameter foreach entry.
thetestingsite
04-07-2007, 02:14 AM
Well; as promised, I found the post that I attached that script that I made up. It is located here:
http://www.dynamicdrive.com/forums/showthread.php?t=16097&highlight=newsletter+subscription
Simply read the second post in there and download the code. Let me know if you need help modifying it.
Hope this helps.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.