PHP – Turn register globals on off using htaccess

Problem:
My application is hosted on a server where php has register_globals set to on in php.ini. But using register_globals = on makes code error prone and is dangerous to use.
I want to turn it of for my application regardless of what is its setting for other applications.
Since the value of register_globals cannot be set at [...]

Read the rest of this entry >>

FAQ, php
9,565 spam comments
blocked by
Akismet