PHP代码 mysql数据库链接问题 解决后奖20RMB支付宝支付 急

PHP代码 mysql数据库链接问题 解决后奖20RMB支付宝支付 急

PHP代码 mysql数据库链接问题 解决后奖20RMB支付宝支付 急
我有一PHP整站代码   没有安装程序,数据库链接要手动修改php代码  作者事先说明,要修改以下三个文件:

There are no install file included. So to install u have to edit the files :

teste.php
/hot-includes/config.php
hot-libs/adodb/adodb.inc.php

* After done editing u have to CMOD upload folder to 777
* Make a database end drop from the db.sql

三个文件在附件里。
请问如何设置数据库链接?

我的网站打开后出现如下代码:

Warning: mysql_pconnect() expects at most 4 parameters, 5 given in /home/cacapu1/public_html/ohusee/hot-libs/adodb/drivers/adodb-mysql.inc.php on line 358

Warning: Cannot modify header information - headers already sent by (output started at /home/cacapu1/public_html/ohusee/hot-includes/c****tants.php:21) in /home/cacapu1/public_html/ohusee/index.php on line 13

Warning: Cannot modify header information - headers already sent by (output started at /home/cacapu1/public_html/ohusee/hot-includes/c****tants.php:21) in /home/cacapu1/public_html/ohusee/index.php on line 115

Warning: Smarty error: unable to read resource: "/home/admin/domains/twdisk.com/public_html/language/english.conf" in /home/cacapu1/public_html/ohusee/hot-libs/smarty/Smarty.class.php on line 2186



请问如何设置数据库链接?

有高手帮助修改不胜感激。改好后支付宝20元答谢。
本篇文章来源于PHP论坛原文链接:http://www.php.cn/thread-23518-1-1.html

附件

db.rar (31.09 KB)

2009-3-23 11:59, 下载次数: 1

学习中