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 TSRMLS_DC);
H A Dmail.c104 char *subject=NULL, *extra_cmd=NULL; local
111 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|ss", &to, &to_len, &subject, &subject_len, &message, &message_len, &headers, &headers_len, &extra_cmd, &extra_cmd_len) == FAILURE) {
123 if (extra_cmd) {
124 MAIL_ASCIIZ_CHECK(extra_cmd, extra_cmd_len);
168 extra_cmd = php_escape_shell_cmd(force_extra_parameters);
169 } else if (extra_cmd) {
170 extra_cmd = php_escape_shell_cmd(extra_cmd);
173 if (php_mail(to_r, subject_r, message, headers_trimmed, extra_cmd TSRMLS_CC)) {
183 if (extra_cmd) {
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c4053 char *extra_cmd = NULL; local
4094 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|ss", &to, &to_len, &subject, &subject_len, &message, &message_len, &headers, &headers_len, &extra_cmd, &extra_cmd_len) == FAILURE) {
4105 if (extra_cmd) {
4106 MAIL_ASCIIZ_CHECK_MBSTRING(extra_cmd, extra_cmd_len);
4297 extra_cmd = php_escape_shell_cmd(force_extra_parameters);
4298 } else if (extra_cmd) {
4299 extra_cmd = php_escape_shell_cmd(extra_cmd);
4302 if (!err && php_mail(to_r, subject, message, headers, extra_cmd TSRMLS_CC)) {
4308 if (extra_cmd) {
[all...]

Completed in 9 milliseconds