Jump to content

reprogram script to disable register globals


nobodyk

Recommended Posts

Well I'm trying to disable register globals in my script (purchased). If I disable register globals, the script doesn't work. So my question is what do I need to look for in order for the script to work without RG. I've read that w/ register globals the script doesn't need to declare variables or something like that. My goal is to change the script so it can run w/ register globals off.

Turn on E_NOTICE error reporting level, and see which variables appear as undefined. Then change them to $_POST[] or $_GET[] array members as appropriate.

 

Note that not all variables that will appear as undeclared will need that.

Turn on E_NOTICE error reporting level, and see which variables appear as undefined. Then change them to $_POST[] or $_GET[] array members as appropriate.

 

Note that not all variables that will appear as undeclared will need that.

 

How can I turn that on?

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.