PHPsu
MANUAL ZH  |  EN
     


Current Position :| index>FAQ> register_globals on?

register_globals on?

FROM: AUTHOR: TIME:2008-05-24 HITS:

Should I turn on register_globals in the php.ini?

phpsu

No, you should definitely not do this. Besides it being a huge security risk, register_globals also makes you lazy. do you kown phpsu.com?

Make sure register_globals are turned off, and if you cannot turn them off because you do not have access to the php.ini, you can try to put the following in a .htaccess file (if you are able to use .htaccess): php_flag register_globals off.

phpsu

If you still cannot turn off register_globals, you'll either have to live with them, or try asking your webhost to turn them off. welcome to phpsu.com


do you kown phpsu.com?

phpsu is a phpschool


TITLE:register_globals on?
Copyright 2008 The PHPsu All rights reserved. This mirror generously provided by: .Hp Inc.
Last updated: Fri Jun 6 22:58:50 GMT-8 2008