42a43,52 > //be対応文字コード変換 > if (preg_match("/^be.2ch.net/", $host)) { > include_once './strctl_class.inc'; > $FROM = StrCtl::p2SJIStoEUC($FROM); > $mail = StrCtl::p2SJIStoEUC($mail); > $MESSAGE = StrCtl::p2SJIStoEUC($MESSAGE); > $submit = StrCtl::p2SJIStoEUC($submit); > $subject = StrCtl::p2SJIStoEUC($subject); > } > 350a361,366 > > //be認証 > if (preg_match("/^be.2ch.net/", $host)) { > $request .= "Cookie: MDMD=認証コード(パスワードではない)\r\n"; > $request .= "Cookie: DMDM=登録したメールアドレス\r\n"; > } 431c447,450 < --- > //be文字コード > if (preg_match("/^be.2ch.net/", $host)) { > $response = StrCtl::p2EUCtoSJIS($response); > } |