|
|
|
@ -3068,7 +3068,12 @@ PHP_FUNCTION(mb_send_mail) |
|
|
|
HashTable ht_headers; |
|
|
|
smart_str *s; |
|
|
|
extern void mbfl_memory_device_unput(mbfl_memory_device *device); |
|
|
|
|
|
|
|
|
|
|
|
if (PG(safe_mode) && (ZEND_NUM_ARGS() == 5)) { |
|
|
|
php_error_docref(NULL TSRMLS_CC, E_WARNING, "SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE."); |
|
|
|
RETURN_FALSE; |
|
|
|
} |
|
|
|
|
|
|
|
/* initialize */ |
|
|
|
mbfl_memory_device_init(&device, 0, 0); |
|
|
|
mbfl_string_init(&orig_str); |
|
|
|
|