原有的项目上新增个独自的页面调用原项目的数据库出错·

WBOY
Release: 2016-06-13 12:15:09
Original
1024 people have browsed it

原有的项目上新增个单独的页面调用原项目的数据库出错··急
config\conn.php  这是数据库的页面

mod\result\index.php 这是我新页面里用了
就报错
Warning: require_once(config/conn.php): failed to open stream: No such file or directory in S:\website\hcgames\mod\result\index.php on line 1

Fatal error: require_once(): Failed opening required 'config/conn.php' (include_path='.;S:\xampp\php\PEAR') in S:\website\hcgames\mod\result\index.php on line 1

------解决思路----------------------
S:\website\hcgames\mod\result\index.php
S:\website\hcgames\mod\result\config/conn.php
不是这样的就请调整

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!