|
楼主 |
发表于 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. |
|