From:             [EMAIL PROTECTED]
Operating system: FreeBSD 4.2-RELEASE
PHP version:      4.0.6
PHP Bug Type:     Unknown/Other Function
Bug description:  When mb_send_mail function receive 5 argument, PHP doesn't show any 
screen.

patch is here
-----------------------------------------------------------------
*** php-4.0.6.org/ext/mbstring/mbstring.c       Wed Jun 20
22:01:49 2001
--- php-4.0.6.new/ext/mbstring/mbstring.c       Fri Jul  6
17:09:41 2001
***************
*** 2527,2531 ****
  {
        int argc, n;
!       pval **argv[4];
        char *to=NULL, *message=NULL, *headers=NULL,
*subject=NULL, *extra_cmd=NULL;
        char *message_buf=NULL, *subject_buf=NULL, *p;
--- 2527,2531 ----
  {
        int argc, n;
!       pval **argv[5];
        char *to=NULL, *message=NULL, *headers=NULL,
*subject=NULL, *extra_cmd=NULL;
        char *message_buf=NULL, *subject_buf=NULL, *p;
***************
*** 2622,2626 ****
  #define PHP_MBSTR_MAIL_MIME_HEADER2 "; charset="
  #define PHP_MBSTR_MAIL_MIME_HEADER3
"\nContent-Transfer-Encoding: "
!       if (argc == 4) {
                convert_to_string_ex(argv[3]);
                p = Z_STRVAL_PP(argv[3]);
--- 2622,2626 ----
  #define PHP_MBSTR_MAIL_MIME_HEADER2 "; charset="
  #define PHP_MBSTR_MAIL_MIME_HEADER3
"\nContent-Transfer-Encoding: "
!       if (argc >= 4) {
                convert_to_string_ex(argv[3]);
                p = Z_STRVAL_PP(argv[3]);



-- 
Edit Bug report at: http://bugs.php.net/?id=11932&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to