iewnil 发表于 2007 年 9 月 10 日 15:02:50

我一加htaccess 就出现500错误。晕啊,浪费两位大大口沫了:(
看来只能写信。再次感谢,金光还是好人多呐

姜运涛 发表于 2007 年 9 月 10 日 15:06:13

O_O
偶素坏淫





:$

姜运涛 发表于 2007 年 9 月 10 日 15:07:22

另外
如果自己懂 PHP
就可以在代码中模拟 register_globals 为 off

iewnil 发表于 2007 年 9 月 10 日 15:07:47

坏淫中的好人
          .

ku8tu 发表于 2007 年 9 月 10 日 17:41:55

路银,路银。。。。。

iewnil 发表于 2007 年 9 月 10 日 19:01:22

我照老外的意思加了php.ini,可是一点反应都没,是不是我译错啊。。。。。
麻烦哥们帮我看看啦 TKS:$


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.
页: 1 [2]
查看完整版本: 高手支招。请问如何关闭“自动定义全局变量”?