PageAdmin网站内容管理系统(CMS)交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

cms程序上传到虚拟主机后,数据库如何设置? [复制链接]

1#
To do so, you'll need to embed a connection string in the body of any script that needs to talk to a database. Here's an example:

'Database connection info and provider
strCon = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &_
Server.MapPath("database\dbname.mdb")


Copy and paste this string directly into your code (replacing the database\dbname with the name of your Access database) and your script should work correctly.

版主,您好!
我用access做数据库测试程序,虚拟主机上开通access后,提示如上,我该在cms程序的哪里添加这个设置。
分享 转发
TOP
发新话题 回复该主题