Searched refs:extra_cmd (Results 1 – 3 of 3) sorted by relevance
/PHP-7.0/ext/standard/ |
H A D | mail.c | 124 if (extra_cmd) { in PHP_FUNCTION() 125 MAIL_ASCIIZ_CHECK(ZSTR_VAL(extra_cmd), ZSTR_LEN(extra_cmd)); in PHP_FUNCTION() 169 extra_cmd = php_escape_shell_cmd(force_extra_parameters); in PHP_FUNCTION() 170 } else if (extra_cmd) { in PHP_FUNCTION() 171 extra_cmd = php_escape_shell_cmd(ZSTR_VAL(extra_cmd)); in PHP_FUNCTION() 174 …message, headers_trimmed ? ZSTR_VAL(headers_trimmed) : NULL, extra_cmd ? ZSTR_VAL(extra_cmd) : NUL… in PHP_FUNCTION() 184 if (extra_cmd) { in PHP_FUNCTION() 185 zend_string_release(extra_cmd); in PHP_FUNCTION() 355 if (extra_cmd != NULL) { in php_mail() 356 spprintf(&sendmail_cmd, 0, "%s %s", sendmail_path, extra_cmd); in php_mail() [all …]
|
H A D | php_mail.h | 28 PHPAPI extern int php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd);
|
/PHP-7.0/ext/mbstring/ |
H A D | mbstring.c | 4245 zend_string *extra_cmd = NULL; in PHP_FUNCTION() local 4286 …, &subject, &subject_len, &message, &message_len, &headers, &headers_len, &extra_cmd) == FAILURE) { in PHP_FUNCTION() 4297 if (extra_cmd) { in PHP_FUNCTION() 4298 MAIL_ASCIIZ_CHECK_MBSTRING(ZSTR_VAL(extra_cmd), ZSTR_LEN(extra_cmd)); in PHP_FUNCTION() 4486 extra_cmd = php_escape_shell_cmd(force_extra_parameters); in PHP_FUNCTION() 4487 } else if (extra_cmd) { in PHP_FUNCTION() 4488 extra_cmd = php_escape_shell_cmd(ZSTR_VAL(extra_cmd)); in PHP_FUNCTION() 4491 if (!err && php_mail(to_r, subject, message, headers, extra_cmd ? ZSTR_VAL(extra_cmd) : NULL)) { in PHP_FUNCTION() 4497 if (extra_cmd) { in PHP_FUNCTION() 4498 zend_string_release(extra_cmd); in PHP_FUNCTION()
|
Completed in 27 milliseconds