Plesk で管理しているサーバに OpenPNE をインストールしてメール設定をしたときのメモです。Plesk はあまり使ったことがないので、よく分からなかったので苦労しました。 Plesk は qmail を使用しているので、.qmail-default に転送設定を記述すれば OK かと思ったのですが、なぜかうまく転送されません。 (続きを読む…)
1. log.phpを用意する † 以下の内容を持つlog.phpを用意する。 <?php /** * エラーログ出力処理<br> * 概 要:エラーログ出力処理 * @param $data ログ出力データ */ function print_err_b($data,$filenm='') { global $FLG_LOG_STDOUT; global $ERR_LOG_FILE; // ログ書き込み $now = time(); // 標準出力 if($FLG_LOG_STDOUT){ print($data . "\n"); } if (!$filenm) $filenm = $ERR_LOG_FILE; // ログファイル出力 $file = fopen ($filenm , "a+"); if ($file) { // ログイン情報 fputs ($file, strftime
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く