Re: php 5.2.4 disable mail() function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, 06 Sep 2007 08:35:14 +0200, php@xxxxxxxxxxx wrote:

> Hartmut Wernisch a écrit :
>> Is there a patch available to revert the "Changed mail() function to be
>> always available. (Johannes)" (see changelog)?
>>
>> I'am looking for an easy way to disable the build in mail-function again.
>> I would prefer not to diff the old and new sources, so any other idea? :)
>>
>> Thanks in advance,
>> Hartmut
>>
>>
>>   
> Hello,
> 
> Just adding mail in php.ini :  disable_functions = mail
> 
> Patrikc

Yes, sorry I didn't mentioned that I have to use an own mail function which
is included via php.ini.
So I get an "Fatal error: Cannot redeclare mail() ..." error. This is why I
am looking for a way to disable the mail function at compile time!


Thanks for your answer!

Hartmut

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux