[thelist] Trouble with PHP Include

patrick pms at stoutstreet.com
Tue Feb 18 08:00:38 CST 2014

On 2/18/2014 8:46 am, Sarah Adams wrote:
> Absolutely this is the best way to do it. That's the problem with
> register_globals, it makes it so you can never be totally sure where
> your variables are coming from (e.g. if the same variable appeared in
> the query string), so setting it explicitly is the way to go. While
> you are still using your host that has register_globals on you might
> even be better off to use a different local variable name altogether.
> Sarah

You might also try turning off register_globals in .htaccess -- worth a 
shot. Another option is to add/modify a php.ini in your root html folder 
and add

|register_globals = off



patrick sanders
web sites that fit

More information about the thelist mailing list