chrisfane Posted July 30, 2007 Share Posted July 30, 2007 i have a number of config files, which the user has a choice to choose which one they want to use. i need to pull a system description for each, which in the past where i only have to work with a single file i have just included and taken the data from there. unfortunalty i then cannot just include the next file, as the value of my $sysname doesnt get overwritten by its new value. is there a way to uninclude a previously included file ? alternately i think im going to have a to read the specific value of " $dbname="system description"; //Automation database description " from each of my config.conf files. which i was hoping to avoid, as i havent done a great deal of file handling , apart from reading whole file contents in and out. :-( any help would be most appreciated. Link to comment https://forums.phpfreaks.com/topic/62458-solved-is-there-a-way-to-uninclude-a-file-i-have-previously-included/ Share on other sites More sharing options...
zq29 Posted July 30, 2007 Share Posted July 30, 2007 No, you can not "un-include" an included file. Link to comment https://forums.phpfreaks.com/topic/62458-solved-is-there-a-way-to-uninclude-a-file-i-have-previously-included/#findComment-310858 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.