Site icon David Yin's Blog

Turn off register_globals in 1&1 linux hosting

It is shared hosting account.
Some php program ask for register_globals to be turned off.
The default is on. How can I turn off it?
I can not touch php.ini. So go for .htaccess.
Just add one into it.

AddType x-mapp-php5 .php

1and1 php5 engine set register_globals off by default.

Exit mobile version