Home > php教程 > php手册 > body text

PHP register_globals自定义全局变量开启

WBOY
Release: 2016-05-23 13:07:20
Original
1923 people have browsed it

register_globals是php中一个自定全局变量功能,在默认情况下是关闭了,但如果你使用thinkphp框架那么就需要打开register_globals功能了,下面我们一起来看看如何开启它吧.

开启方法

我们找到php.ini,查找:register_globals

将 register_globals = Off 更改为 register_globals = On

教程网址:

欢迎收藏∩_∩但请保留本文链接。

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 Recommendations
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!