![]() |
|
首页 │ Apache │ Linux│ Java│ MySQL│ 注册│帮助 | |||
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 "
if ($technicalemail!="dbmaster@your-email-address-here.com") {
echo "\n";
}
}
[/PHP]
请问在这里我把数据库名改成:yyy了然后点“更新config.php”。怎么在config.php里的$dbname也变成:$dbname='yyy'了。什么技术改的值呢??

