From dc4fec336d8fa3f45360552f6633a89f874c94de Mon Sep 17 00:00:00 2001 From: Markus Fischer Date: Sat, 24 Aug 2002 00:27:20 +0000 Subject: [PATCH] - Document newly added security measurement for mail() and fifth parameter. # Couldn't build the xml source, someone please verify, thx. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@93278 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mail/functions/mail.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/reference/mail/functions/mail.xml b/reference/mail/functions/mail.xml index 67021eb9e5..7af2cbee8c 100644 --- a/reference/mail/functions/mail.xml +++ b/reference/mail/functions/mail.xml @@ -1,5 +1,5 @@ - + @@ -115,7 +115,10 @@ mail("nobody@example.com", "the subject", $message, - This fifth parameter was added in PHP 4.0.5. + This fifth parameter was added in PHP 4.0.5. Since PHP 4.2.3 this + parameter is disabled in safe_mode + and the mail function will expose a warning message + and return &false; if you're trying to use it.