PHP Register Global Variables

Ran into an issue this past week with a couple of web sites that were setup a few years ago. Specifically the online forms stopped working…it would go through on the user side no problems but no data was actually sent through the form.

The problem turned out to be caused by an update which set the Register Globals variable option to off (which it should be for security.) The problem was the sites were done quickly and made use of global variables.

The fix is a simple change that just required specifying how the form would get the info:

Explore posts in the same categories: PHP, Tech, WebSites

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: