For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > September 2006 > #38895 [Bgs]: mail() behaviour in the safe_mode









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #38895 [Bgs]: mail() behaviour in the safe_mode
serg at trest dot org

2006-09-20, 6:57 pm

ID: 38895
User updated by: serg at trest dot org
Reported By: serg at trest dot org
Status: Bogus
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:

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.


Previous Comments:
------------------------------------------------------------------------

[2006-09-20 17:23:21] bjori@php.net

mail() will only throw a safe mode warning at you if you
pass 5 arguments.

------------------------------------------------------------------------

[2006-09-20 12:23:09] 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.




------------------------------------------------------------------------


--
Edit this bug report at http://bugs.php.net/?id=38895&edit=1
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com