Hi,
I already got help from djjjozsi regarding saving email addresses from a form to txt file, but understand it's not very safe.
if(isset($_POST["email"]))
file_put_contents("emails.txt" , htmlspecialchars($_POST["email"]) . "\n\r" , FILE_APPEND );
How to add "safe from web" folder or insert to table in a database?
Thank you in advance
Tali