只有在同目录下的php文件,可用require_once("filename.php");
在不同目录下的php文件,用相对所在目录的路径
require_once('./php/data_fns.php');
require_once('../data_fns.php');
Statement: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