jdneill Posted December 19, 2008 Share Posted December 19, 2008 I want to use the following in one of my scripts: unset( $GLOBALS['_REQUEST'] ); $GLOBALS['_REQUEST'] = array_merge( $GLOBALS['_GET'], $GLOBALS['_POST'] ); I want to use $_REQUEST but do not want cookie information etc to be present in the $_REQUEST global and I wondered......... Is this considered safe and could there be and security implications doing this? Many thanks, John Link to comment https://forums.phpfreaks.com/topic/137717-unset-_request-global/ Share on other sites More sharing options...
premiso Posted December 19, 2008 Share Posted December 19, 2008 I do not see any security implications on doing this...as long as $GLOBALS work, it should be fine. Link to comment https://forums.phpfreaks.com/topic/137717-unset-_request-global/#findComment-719860 Share on other sites More sharing options...
jdneill Posted December 19, 2008 Author Share Posted December 19, 2008 I do not see any security implications on doing this...as long as $GLOBALS work, it should be fine. Thanks, just wanted a second opinion on this. Link to comment https://forums.phpfreaks.com/topic/137717-unset-_request-global/#findComment-719897 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.