Re: Is there a way to un include a file

From: Date: Thu, 08 Mar 2007 06:38:48 +0000
Subject: Re: Is there a way to un include a file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-250051@lists.php.net to get a copy of this message
On Thursday 08 March 2007 07:18, jekillen wrote: > Hello; > Is there a way to un include a file once it has been included in a > script. You seems to want the wrong thing... I could be mistaken, but from my point of view you would NOT include the file if not apropriate at that moment. > My concern is where two php files might be included in another php > file they might have code or variables that conflict. I am thinking > of including files with different names but follow the same pattern > of code and variables but may have different values for variables > or different versions of the same function. > If there is not a specific function for un including a file (I have not > seen any indication from my text books that there is), it seems like > it would be nice to have one. > Meanwhile I will be doing some experimentation. > Thanks in advance; > Jeff K -- --- Børge Kennel Arivene http://www.arivene.net ---

« previous php.general (#250051) next »