Can anybody give me details on what to code into a page?
Basically i am required to build a mailing list from scratch where people can subscribe and they are added to a mailing list.
What would be the php/javascript behind it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A mailing list is quite simple. You’d need to decide how you’d want to do it, but in general, you’d have a subscribe page and a post page. I am not testing this code, so it may contain flaws, but it should give you an idea of a flat-file based mailing list.
In practical implementations, you should use MySQL, validate and confirm e-mails, check for errors and so on. Also, don’t forget that this does not authenticate the post page. You ideally need strong authentication to ensure your mailing list isn’t compromised. Additionally know that you -must- have an unsubscribe feature – this will be easier with MySQL than with flat-file.
subscribe.php
post.php