neridaj Posted April 15, 2008 Share Posted April 15, 2008 Hey, I'm wondering if it is a good idea to store $_POST, $_GET vars in an include file. I have a lot of repeating vars and was wanting to consolidate them into one file to be included whenever such vars were needed, is this a bad idea? Thanks, Jason Link to comment https://forums.phpfreaks.com/topic/101160-storing-superglobals/ Share on other sites More sharing options...
GingerRobot Posted April 15, 2008 Share Posted April 15, 2008 What do you mean by a lot of 'repeating variables' ? The variables in the $_POST and $_GET files depend entirely on the data send with the request to the page. Perhaps you could show as an example of what you're doing. Link to comment https://forums.phpfreaks.com/topic/101160-storing-superglobals/#findComment-517455 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.