麻辣堂|资源主站|开发论坛|在线手册
首页 Apache Linux Java MySQL 注册帮助 
PHP项目开发组是PHP开发资源网于2007组年建成立的项目开发团队,目前核心开发成员有27人, 项目协作成员8名.下设7个开发组,主要承接大/中型网站项目开发任务。

    由于开发任务较多,人员比较紧张,现面向社会招聘全职或者兼职开发人员,不管你是在校大学生,还是全职开发人员,以及SOHO都可以联系本站,我们可以长期合作,并为您带来丰厚的报酬。
  您现在的位置:PHP开发资源网 > 麻辣堂 > 详细资料
待解决
怎么改的值呢??
悬赏分:20 - 2007年05月31日

vbb里的config.php
[PHP]
<?php

/////////////////////////////////////////////////////////////
// Please note that if you get any errors when connecting, //
// that you will need to email your host as we cannot tell //
// you what your specific values are supposed to be //
/////////////////////////////////////////////////////////////

// type of database running
// (only mysql is supported at the moment)
$dbservertype='mysql';

// hostname or ip of server
$servername='localhost';

// username and password to log onto db server
$dbusername='jyby';
$dbpassword='123456';

// name of database
$dbname='user';

// technical email address - any error messages will be emailed here
$technicalemail='Double_ycn@syjyby.com';

// use persistant connections to the database
// 0 = don't use
// 1 = use
$usepconnect=1;

?>
[/PHP]

install.php里的一部分:
[PHP]
if ($canWrite!=0 and $fileExists) {
// test out config
include("./config.php");

echo "

";
echo "

请确认以下细节:

\n";
echo "

数据库服务器类型:

\n";
echo "

数据库服务器主机名或IP地址:

\n";
echo "

数据库用户名:

\n";
echo "

数据库用户密码:

\n";
echo "

数据库名:

\n";
echo "

技术支持E-mail地址:

\n";
echo "

";
if ($technicalemail!="dbmaster@your-email-address-here.com") {
echo "

\n";
}
}
[/PHP]

请问在这里我把数据库名改成:yyy了然后点“更新config.php”。怎么在config.php里的$dbname也变成:$dbname='yyy'了。什么技术改的值呢??

提问者:Double_ycn   05-31 16:04
答复
路过。。。顺便帮顶:)
回答者:玉米づ冰冻可乐 - 瓦岗村民 8-22 09:10
我也来回答:
不管你有没有帮助我们,瓦岗寨8万村民将感谢你。。。。。

为防止灌水,您需要计算一道数学题: 答案:
26 + 62 = ? 请将计算结果填在上面

 
[]
©2007 PhpRes.COM