(I apologize for a stupid question. This must be a simple setting, but an hour of Google hasn't revealed it.)
We have a LAMP web server. When we send data through post, the $_POST
variable is set as expected. But we also get a global variable for every entry in $_POST
.
For instance, if $_POST['Research']
is "Yes", we also get a global $Research
set to "Yes".
How do we turn this off?
you have the dangerous and deprecated
register globals on
basic details:
http://php.net/manual/en/faq.using.php#faq.register-globals
to turn off: http://php.net/manual/en/ini.core.php#ini.register-globals
if your php version is so old that it came with this on by default you should upgrade