If I want to store emails but you don’t have a database (like MySQL), what should I do?
Data should be accessible and writable with PHP, but regular "visitors" MUST NOT see the data.
Hope you can help.
If your data is not very large, you can use XML files. But if your data is important and you need to protect it, you need to encrypt your data.
You can put them in files :)
$data; // Defined "somewhere" file_put_contents('filename.txt', $data);
However, I suggest you use the database anyway. At least SQLite is installed almost everyone.
php ($ to, $subject, $body), . script, .
, , .php, ().
, */$mail */ , .
, Outlook: . ( ). , , .