source: branches/feature-module-update/html/test/naka/mail.php @ 15078

Revision 15078, 486 bytes checked in by nanasess, 17 years ago (diff)

r15064 から svn cp
とりあえず暫定コミット.

  • UTF-8 に変更
  • slib.php, glib.php のクラス化
  • LC_Page の抽象化(一部)
Line 
1<?php
2
3ini_set("mbstring.http_output", "UTF-8");
4ini_set("mbstring.internal_encoding", "UTF-8");
5
6$to = "naka@lockon.co.jp";
7$body = "テストです。アイウロエ??????彅??";
8
9$body = mb_convert_encoding($body, 'UTF-8', "EUC-JP");
10
11print("<html><head><meta http-equiv='Content-Type' content='text/html; charset=UTF-8'></head><body>\n");
12print("<b>" . $body . "</b>");
13
14echo("</body></html>");
15
16/*
17mb_language("uni");
18
19if(mb_send_mail($to, "test", $body)){
20    print("ok");
21}
22*/
23
24
25
26?>
Note: See TracBrowser for help on using the repository browser.