Posted by howa on 09/29/07 12:23
Hello,
I have a function, e.g.
function foo() {
include("bar.php");
}
and the bar.php contain contents e.g.
$global_v1 = "abc";
$global_v2 = "def";
I want to execute function foo(), but at the same time, let the
variables declared in bar.php to have global scopem is it possible?
Thanks.
[Back to original message]
|