onedumbcoder Posted July 29, 2009 Share Posted July 29, 2009 i am posting some variables to file. however lets say we $_POST['policeofficerid'] if i just echo the variable $policeofficerid without ever setting it to anything~~! it captures that post value (the value stored in $_POST['policeofficerid']) as its default!?!?!! has anyone else every encountered this? Quote Link to comment Share on other sites More sharing options...
waynewex Posted July 29, 2009 Share Posted July 29, 2009 It's not crazy, you just have register_globals set to on. This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 6.0.0. Relying on this feature is highly discouraged. http://us.php.net/manual/en/security.globals.php Quote Link to comment Share on other sites More sharing options...
onedumbcoder Posted July 29, 2009 Author Share Posted July 29, 2009 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.