|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
上问问客服如何关闭自动定义全局变量,现在回复了。
机器译的不好,烦请各位兄弟高抬贵手翻译一下主要内容
Thank you for using our services.
You can disable the PHP register_globals setting by creating custom php.ini files in your web space.
They need to be in every directory where you have scripts that need the custom settings.
The php.ini files should contain the following lines:
register_globals = off
post_max_size = 20M
memory_limit = 80M
upload_max_filesize = 20M
max_execution_time = 120
expose_php=off
The first line turns off the "register_globals" setting, and the rest of the lines are needed for compatibility reasons.
Note that php.ini files do not work recursively, therefore you need to add the file in each directory where you want the PHP behavior changed. You can create such files using the online Control Panel --> File Manager interface.
Let us know if you need any additional assistance or information. |
|