i am creating an under construction page where users can leave their email to be notified when the site launch
i need to add those emails to a text file called list.txt
my question is two parts
how can i add user@example.com to the text file ?
and how i can later delete certain email from a text file ?
thanks for help
You’d be better off using a database because these operations can step on each other.. but:
Add:
Remove:
Again… highly recommended to use a database… this is not optimal.