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? Link to comment https://forums.phpfreaks.com/topic/168021-solved-wow~-i-am-about-to-go-nutz-php-is-crazy/ Share on other sites More sharing options...
waynew 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 Link to comment https://forums.phpfreaks.com/topic/168021-solved-wow~-i-am-about-to-go-nutz-php-is-crazy/#findComment-886210 Share on other sites More sharing options...
onedumbcoder Posted July 29, 2009 Author Share Posted July 29, 2009 Link to comment https://forums.phpfreaks.com/topic/168021-solved-wow~-i-am-about-to-go-nutz-php-is-crazy/#findComment-886214 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.