廣告廣告
  加入我的最愛 設為首頁 風格修改
首頁 首尾
 手機版   訂閱   地圖  簡體 
您是第 4611 個閱讀者
 
發表文章 發表投票 回覆文章
  可列印版   加為IE收藏   收藏主題   上一主題 | 下一主題   
達人村惟祿 手機
個人文章 個人相簿 個人日記 個人地圖
社區建設獎 創作大師獎 特殊貢獻獎
小有名氣
級別: 小有名氣 該用戶目前不上站
推文 x21 鮮花 x616
分享: 轉寄此文章 Facebook Plurk Twitter 複製連結到剪貼簿 轉換為繁體 轉換為簡體 載入圖片
推文 x0
[PHP][討論] [求助][phpmychat]安裝的問題
安裝的其中一個步驟 這是什麼意思呢

Here's the config file created according to the information you have entered.

Copy all of it, including the first and last lines, and then paste it into your favourite text-editor (Notepad, Vi...). After this you *must* enter the database users password on line 7 and save the file as config.lib.php3.

Ensure that there is neither empty line neither space character, neither before the php opening tag neither after the closing one, then you can upload the config file to your server in the config dir (replace the existing one) and secure it (see the install.txt file in the docs dir for more information on this).

Don't forget to have a look at the warning message bellow.

=======================================================

<?php
// Database settings
define("C_DB_TYPE", 'mysql');
define("C_DB_HOST", 'localhost');
define("C_DB_NAME", Ƈ');
define("C_DB_USER", 'root');
define("C_DB_PASS", '*** Complete here ***');
define("C_MSG_TBL", 'c_messages');
define("C_USR_TBL", 'c_users');
define("C_REG_TBL", 'c_reg_users');
define("C_BAN_TBL", 'c_ban_users');

// Cleaning settings for messages and usernames
define("C_MSG_DEL", ྜ');
define("C_USR_DEL", Ɗ');
define("C_REG_DEL", Ɔ');

// Proposed rooms
$DefaultChatRooms = array('Default', 'MyRoom1', 'MyRoom2');
$DefaultPrivateRooms = array('Priv1', 'Priv2');

// Language settings
define("C_LANGUAGE", 'chinese_traditional');
define("C_MULTI_LANG", Ƈ');

// Registration of users
define("C_REQUIRE_REGISTER", Ɔ');
define("C_EMAIL_PASWD", Ɔ');

// Security and restriction settings
define("C_SHOW_ADMIN", Ɔ');
define("C_SHOW_DEL_PROF", Ƈ');
define("C_VERSION", ƈ');
define("C_BANISH", Ɔ');
define("C_NO_SWEAR", Ɔ');
define("C_SAVE", '*');

// Messages enhancements
define("C_USE_SMILIES", Ƈ');
define("C_HTML_TAGS_KEEP", 'simple');
define("C_HTML_TAGS_SHOW", Ƈ');

// Default display seetings
define("C_TMZ_OFFSET", Ɔ');
define("C_MSG_ORDER", Ɔ');
define("C_MSG_NB", ཐ');
define("C_MSG_REFRESH", ཆ');
define("C_SHOW_TIMESTAMP", Ƈ');
define("C_NOTIFY", Ƈ');
define("C_WELCOME", Ƈ');
?>

======================================================

Once you have completed the steps above, phpMyChat is near ready to run.
Just sets manually three variables at the top of the 'chat/admin/mail4admin.lib.php3'
script... and have some nice chat discussions.

After you have got phpMyChat up and running you should remove the
setup.php3 file and the whole 'chat/install' dir from your server.


[ 此文章被shinchu在2004-12-14 10:06重新編輯 ]



獻花 x0 回到頂端 [樓 主] From:台灣中華電信 | Posted:2004-12-14 09:23 |
kivimico 手機
個人頭像
個人文章 個人相簿 個人日記 個人地圖
小有名氣
級別: 小有名氣 該用戶目前不上站
推文 x0 鮮花 x47
分享: 轉寄此文章 Facebook Plurk Twitter 複製連結到剪貼簿 轉換為繁體 轉換為簡體 載入圖片

應該是叫你修改那段程式碼裡的Database的一些設定,設定完存到config.lib.php裡
define("C_DB_NAME", '這裡輸入資料庫名稱');
define("C_DB_USER", '這裡輸入資料庫使用者帳號');
define("C_DB_PASS", '這裡輸入資料庫使用者密碼');
-----------
弄完上面的後,要準備RUN論壇的時候請把mail4admin.lib.php的權限(檔案屬性"CHMOD")改成777
安裝完後請刪除setup.php3 和整個install資料夾

應該是這樣啦


我的網誌 http://www.wretch.cc/blog/altec
獻花 x0 回到頂端 [1 樓] From:未知地址 | Posted:2004-12-17 17:11 |

首頁  發表文章 發表投票 回覆文章
Powered by PHPWind v1.3.6
Copyright © 2003-04 PHPWind
Processed in 0.015773 second(s),query:16 Gzip disabled
本站由 瀛睿律師事務所 擔任常年法律顧問 | 免責聲明 | 本網站已依台灣網站內容分級規定處理 | 連絡我們 | 訪客留言