| Revision 7039,
488 bytes
checked in by naka, 20 years ago
(diff) |
|
* empty log message *
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | |
|---|
| 3 | ini_set("mbstring.http_input", "UTF-8"); |
|---|
| 4 | ini_set("mbstring.http_output", "UTF-8"); |
|---|
| 5 | |
|---|
| 6 | phpinfo(); |
|---|
| 7 | |
|---|
| 8 | $to = "[email protected]"; |
|---|
| 9 | //$body = "¥Æ¥¹¥È¤Ç¤¹¡£¥¢¥¤¥¦¥í¥¨??????¼ô??"; |
|---|
| 10 | $body = "¤¢¤¢"; |
|---|
| 11 | |
|---|
| 12 | $body = mb_convert_encoding($body, 'UTF-8'); |
|---|
| 13 | |
|---|
| 14 | print("<html><head><meta http-equiv='Content-Type' content='text/html; charset=UTF-8'></head><body>\n"); |
|---|
| 15 | print("<b>" . $body . "</b>"); |
|---|
| 16 | |
|---|
| 17 | echo("</body></html>"); |
|---|
| 18 | |
|---|
| 19 | /* |
|---|
| 20 | mb_language("uni"); |
|---|
| 21 | |
|---|
| 22 | if(mb_send_mail($to, "test", $body)){ |
|---|
| 23 | print("ok"); |
|---|
| 24 | } |
|---|
| 25 | */ |
|---|
| 26 | |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | ?> |
|---|
Note: See
TracBrowser
for help on using the repository browser.