Pages in php call each other

巴扎黑
Release: 2016-11-22 15:28:36
Original
1332 people have browsed it

require() and require_once()

require_once(): The same file is only called once

Usually placed at the front of the PHP program. Before the PHP program is executed, it will first read in the file specified by require

. It is fatal if an error occurs.

include() and include_once()

include_once()
: The same file is only called once

and can be placed anywhere in the PHP program. When the PHP program is executed, it will first read in the

include specified Imported files will be prompted if an error occurs.

Pages in php call each other

Related labels:
php
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!