PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
It will prevent the user from injecting global variables from $_GET and $_POST and $_COOKIE. This would only be possible with register globals on though.
John Cartwright wrote:It will prevent the user from injecting global variables from $_GET and $_POST and $_COOKIE. This would only be possible with register globals on though.
ty for ur time john
but wat does the parameter passed 'GLOBALS' mean?? if i place the above condition in a new php file apache says GLOBALS is undefined
how will the above condition be true any example code?