If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Just beacuse it's on doesn't mean you have to code them. Use the $_POST[], $_GET[], $_SESSION[], etc. assoc. arrays instead of globals and you shouldn't have any security problems even with the setting on.
"I have never made but one prayer to God, a very short one: 'O, Lord, make my enemies ridiculous.' And God granted it." --Voltaire
Looks like Register Globals is now set to off as of today. Is there a php command to over-ride this if necessary rather than dealing with each and every variable name?
Looks like Register Globals is now set to off as of today. Is there a php command to over-ride this if necessary rather than dealing with each and every variable name?
Place a php.ini with the command "register_globals = On" in the directory where you require globals on??
Rumor has it that PHP will even stop supporting register_globals at some point down the road. It also can pose a security risk if inputs are not properly validated or initialized. I strongly recommend not depending on register_globals being enabled.
Comment