php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #38895 mail() behaviour in the safe_mode
Submitted: 2006-09-20 12:23 UTC Modified: 2006-09-20 18:22 UTC
From: serg at trest dot org Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2006-09-20 12:23 UTC] serg at trest dot org
Description:
------------
It is not problem of documentation. It's rather problem of people who does not understand English well yet I think it would be better to correct the sentence "4.2.3 The additional_parameters parameter is disabled in safe_mode and the mail() function will expose a warning message and return FALSE when used." from the page http://www.php.net/manual/en/function.mail.php
I understand it as:
"The additional_parameters parameter is disabled in safe_mode and the mail() function will expose a warning message and return FALSE when you try to use
this parameter."
But my hosting company insists on the different meaning:
"The additional_parameters parameter is disabled in safe_mode. The mail() function will expose a warning message and return FALSE when used dispite the number of parameters."

Thank you for your time,
Sergei.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-20 17:23 UTC] bjori@php.net
mail() will only throw a safe mode warning at you if you 
pass 5 arguments.
 [2006-09-20 18:22 UTC] serg at trest dot org
Thank you for your answer,

I know it. I have checked php sources. But it doesnt clear from that document. 
These people in hosting company compiled php with --enable-sigchild (http://bugs.php.net/bug.php?id=25862&edit=2)
and mail() always return false.
And they are constantly telling me that "mail always returns false in safe_mode" and addressing me to http://www.php.net/manual/en/function.mail.php.
They are completely blind and deaf to all my reasons.

Is this any chance to write this sentence in other way?
Something like this:
"The additional_parameters parameter is disabled in safe_mode and the
mail() function will expose a warning message and return FALSE when you try to pass this parameter."

Thanks in advance,
Sergei.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Nov 22 15:00:02 2025 UTC