Category Archives: PHP

Log mails sent by PHP mail() function

PHP 5.3 introduced a new feature many administrators have waited for. Now it’s possible to log mails sent by the mail() function of PHP. Until 5.3 it was not that easy to find anĀ insecureĀ form/script which sends out spam messages. But now, finally, after around two years after the patch was submitted, you can add this to your php.ini: The first … Continue reading

Posted in Linux, PHP, Quick tip | Tagged , , , | 2 Comments