Home > Backend Development > PHP Tutorial > php里面如何定义方法 使得每个前台页面都能调用到

php里面如何定义方法 使得每个前台页面都能调用到

WBOY
Release: 2016-06-13 10:46:43
Original
1017 people have browsed it

php里面怎么定义方法 使得每个前台页面都能调用到
php里面怎么定义方法 使得每个前台页面都能调用到

然后在别的页面怎么调用和传参数

------解决方案--------------------
写在一个config.php 中 ,其他页面只需 include 进来就可以了.

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