Jump to content

How can I turn off Register_Globals?


Recommended Posts

I'm running PHP 5.3.2, and I've checked the ini file, and it has register_globals Off, but when I check phpinfo();, it says that it's on as a Local Value, but Off as a Master Value. I tried echo $ID and inputed ?ID=2 into the URL and it echoes 2, so I'm pretty sure that it's still on. Can anyone tell me how to turn it off?

Link to comment
Share on other sites

Ah, actually I don't think anyone's in charge of the maintenance. I was hired on as the coder for their website, wanted to upgrade their PHP version so I asked for the SSH details. I do know it's installed as an Apache module.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.