Searched refs:extra_cmd (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Dphp_mail.h28 PHPAPI extern int php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd);
H A Dmail.c105 zend_string *extra_cmd=NULL, *headers=NULL, *headers_trimmed=NULL; local
112 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|SS", &to, &to_len, &subject, &subject_len, &message, &message_len, &headers, &extra_cmd) == FAILURE) {
124 if (extra_cmd) {
125 MAIL_ASCIIZ_CHECK(ZSTR_VAL(extra_cmd), ZSTR_LEN(extra_cmd));
169 extra_cmd = php_escape_shell_cmd(force_extra_parameters);
170 } else if (extra_cmd) {
171 extra_cmd = php_escape_shell_cmd(ZSTR_VAL(extra_cmd));
174 if (php_mail(to_r, subject_r, message, headers_trimmed ? ZSTR_VAL(headers_trimmed) : NULL, extra_cmd
266 php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd) argument
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c4066 zend_string *extra_cmd = NULL; local
4107 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|sS", &to, &to_len, &subject, &subject_len, &message, &message_len, &headers, &headers_len, &extra_cmd) == FAILURE) {
4118 if (extra_cmd) {
4119 MAIL_ASCIIZ_CHECK_MBSTRING(ZSTR_VAL(extra_cmd), ZSTR_LEN(extra_cmd));
4305 extra_cmd = php_escape_shell_cmd(force_extra_parameters);
4306 } else if (extra_cmd) {
4307 extra_cmd = php_escape_shell_cmd(ZSTR_VAL(extra_cmd));
4310 if (!err && php_mail(to_r, subject, message, headers, extra_cmd
[all...]

Completed in 19 milliseconds