广告广告
  加入我的最爱 设为首页 风格修改
首页 首尾
 手机版   订阅   地图  繁体 
您是第 4626 个阅读者
 
发表文章 发表投票 回覆文章
  可列印版   加为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.010953 second(s),query:16 Gzip disabled
本站由 瀛睿律师事务所 担任常年法律顾问 | 免责声明 | 本网站已依台湾网站内容分级规定处理 | 连络我们 | 访客留言