Forum Moderators: phranque

Message Too Old, No Replies

does "php_flag register_globals off" work on all subdirectories?

or is there a setting for this?

         

benlieb

10:56 pm on May 19, 2006 (gmt 0)

10+ Year Member



My local apache seems to use this directive (if that's what you call it) on all sub directores.

My shared host server seems not to. I can't really tell, but funny things are happening. My local vars are overwriting my $_SESSION (php) vars of the same name, which shouldn't be happening if register_globals is turned off, right?

JoaoJose

11:27 am on May 20, 2006 (gmt 0)

10+ Year Member



If you can have your custom php.ini, you can turn register_globals off