Include file scope

From: Date: Tue, 25 Jul 2000 15:57:55 +0000
Subject: Include file scope
Groups: php.general 
Request: Send a blank email to php-general+get-8069@lists.php.net to get a copy of this message
Hi, I have a question. Is there a way to isolate the scope of an include file, except have some variables pass to it? if I have a function: function safe_include($filename,$data) { include ($filename); } will the include be evaluated every time I call safe_function() with a different $filename??? -Gfunk [-= Visit my website! http://www.gfunk007.com/ - ICQ:74477509 =-]

« previous php.general (#8069) next »