Hi everyone!
I have a problem with session variables that are not 'seen' into an evaluated function.
I have a script that has something like:
include("a.php") //definition of class A
include("b.php") // definition of class B
include("ses.php") // session_register("a")
// session_register("b")
include("x.php") // implements function to
// evaluate
a->setFunctionToEvaluate("x();");
a->evaluateX();
The thing is that function x uses a the session registered variable a but for an unknown (to me) reason, variable a appears to be undefined.
I tried changing the 'includes' sequence but couldn't work it out.