]>
Commit | Line | Data |
---|---|---|
5316c927 AF |
1 | Only in php-4.0RC1/ext/standard/: .libs |
2 | Only in php-4.0RC1/ext/standard/: Makefile | |
3 | Only in php-4.0RC1/ext/standard/: array.lo | |
4 | Only in php-4.0RC1/ext/standard/: assert.lo | |
5 | Only in php-4.0RC1/ext/standard/: base64.lo | |
6 | Only in php-4.0RC1/ext/standard/: basic_functions.lo | |
7 | Only in php-4.0RC1/ext/standard/: browscap.lo | |
8 | Only in php-4.0RC1/ext/standard/: crypt.lo | |
9 | Only in php-4.0RC1/ext/standard/: cyr_convert.lo | |
10 | Only in php-4.0RC1/ext/standard/: datetime.lo | |
11 | Only in php-4.0RC1/ext/standard/: dir.lo | |
12 | Only in php-4.0RC1/ext/standard/: dl.lo | |
13 | Only in php-4.0RC1/ext/standard/: dns.lo | |
14 | Only in php-4.0RC1/ext/standard/: exec.lo | |
15 | Only in php-4.0RC1/ext/standard/: file.lo | |
16 | Only in php-4.0RC1/ext/standard/: filestat.lo | |
17 | Only in php-4.0RC1/ext/standard/: flock_compat.lo | |
18 | Only in php-4.0RC1/ext/standard/: formatted_print.lo | |
19 | Only in php-4.0RC1/ext/standard/: fsock.lo | |
20 | Only in php-4.0RC1/ext/standard/: head.lo | |
21 | Only in php-4.0RC1/ext/standard/: html.lo | |
22 | Only in php-4.0RC1/ext/standard/: image.lo | |
23 | Only in php-4.0RC1/ext/standard/: info.lo | |
24 | Only in php-4.0RC1/ext/standard/: iptc.lo | |
25 | Only in php-4.0RC1/ext/standard/: lcg.lo | |
26 | Only in php-4.0RC1/ext/standard/: libstandard.la | |
27 | Only in php-4.0RC1/ext/standard/: link.lo | |
28 | diff -ru php-4.0RC1.old/ext/standard/mail.c php-4.0RC1/ext/standard/mail.c | |
29 | --- php-4.0RC1.old/ext/standard/mail.c Mon Mar 6 21:37:11 2000 | |
30 | +++ php-4.0RC1/ext/standard/mail.c Tue Apr 4 03:13:33 2000 | |
31 | @@ -21,6 +21,8 @@ | |
32 | #include <stdlib.h> | |
33 | #include <ctype.h> | |
34 | #include <stdio.h> | |
35 | +#include <syslog.h> | |
36 | +#include <string.h> | |
37 | #include "php.h" | |
38 | #if !defined(PHP_WIN32) | |
39 | #include "build-defs.h" | |
40 | @@ -112,8 +114,12 @@ | |
41 | sendmail = popen(sendmail_path, "w"); | |
42 | ||
43 | if (sendmail) { | |
44 | - fprintf(sendmail, "To: %s\n", to); | |
45 | - fprintf(sendmail, "Subject: %s\n", subject); | |
46 | + if ((to != NULL) && (strlen(to)!=0)) { | |
47 | + fprintf(sendmail, "To: %s\n", to); | |
48 | + } | |
49 | + if ((subject != NULL) && (strlen(subject)!=0)) { | |
50 | + fprintf(sendmail, "Subject: %s\n", subject); | |
51 | + } | |
52 | if (headers != NULL) { | |
53 | fprintf(sendmail, "%s\n", headers); | |
54 | } | |
55 | Only in php-4.0RC1/ext/standard/: mail.c~ | |
56 | Only in php-4.0RC1/ext/standard/: mail.lo | |
57 | Only in php-4.0RC1/ext/standard/: math.lo | |
58 | Only in php-4.0RC1/ext/standard/: md5.lo | |
59 | Only in php-4.0RC1/ext/standard/: metaphone.lo | |
60 | Only in php-4.0RC1/ext/standard/: microtime.lo | |
61 | Only in php-4.0RC1/ext/standard/: output.lo | |
62 | Only in php-4.0RC1/ext/standard/: pack.lo | |
63 | Only in php-4.0RC1/ext/standard/: pageinfo.lo | |
64 | Only in php-4.0RC1/ext/standard/: parsedate.lo | |
65 | Only in php-4.0RC1/ext/standard/: quot_print.lo | |
66 | Only in php-4.0RC1/ext/standard/: rand.lo | |
67 | Only in php-4.0RC1/ext/standard/: reg.lo | |
68 | Only in php-4.0RC1/ext/standard/: soundex.lo | |
69 | Only in php-4.0RC1/ext/standard/: string.lo | |
70 | Only in php-4.0RC1/ext/standard/: syslog.lo | |
71 | Only in php-4.0RC1/ext/standard/: type.lo | |
72 | Only in php-4.0RC1/ext/standard/: uniqid.lo | |
73 | Only in php-4.0RC1/ext/standard/: url.lo | |
74 | Only in php-4.0RC1/ext/standard/: url_scanner.lo | |
75 | Only in php-4.0RC1/ext/standard/: var.lo |