Hello,
I'm currently using a basic formmail.pl script for the forms on my website. I have a newsletter signup option on all of my forms for visitors to subscribe. Up until now, I have been importing the email addresses and names into a text file for my mailing list. I basically copy and paste each entry. Since the newsletter is reaching 2,000 entries and the signup have been increasing every day, this is becoming a major burden on managing.
I would like to get some assistance for creating a PHP form which will do all of these tasks:
1. Only capture email address and first name for visitors who check the newsletter signup box.
2. Output the visitors email address and name into a flat file on the server.
3. Format the email and name like this:
"anyone1@email.com","Name"
"anyone2@email.com","Name"
"anyone3@email.com","Name"
4. Check and make sure any duplicate email addresses will not be added to the text file.
You can review one of my current forms here:
Any help would be greatly appreciated.
Thanks!
I'm currently using a basic formmail.pl script for the forms on my website. I have a newsletter signup option on all of my forms for visitors to subscribe. Up until now, I have been importing the email addresses and names into a text file for my mailing list. I basically copy and paste each entry. Since the newsletter is reaching 2,000 entries and the signup have been increasing every day, this is becoming a major burden on managing.
I would like to get some assistance for creating a PHP form which will do all of these tasks:
1. Only capture email address and first name for visitors who check the newsletter signup box.
2. Output the visitors email address and name into a flat file on the server.
3. Format the email and name like this:
"anyone1@email.com","Name"
"anyone2@email.com","Name"
"anyone3@email.com","Name"
4. Check and make sure any duplicate email addresses will not be added to the text file.
You can review one of my current forms here:
Any help would be greatly appreciated.
Thanks!