php require_once

WBOY
Release: 2016-06-23 14:37:25
Original
1230 people have browsed it

只有在同目录下的php文件,可用require_once("filename.php");

在不同目录下的php文件,用相对所在目录的路径

require_once('./php/data_fns.php'); 

require_once('../data_fns.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!