Save/restore variable environment

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


I have the following problem:

At the beginning of my website based on b2Evolution I include a
statistic tool (TrackPro) with the follwowing commands:

include 'tpro.php';

In the file "tpro.php" some variables are used. These variables seem
to be used by the b2Evolution files also and therefore they do disturb
each other.

Is there a way to save the content of all variables before entering
the "tpro.php" (or at its beginning) and to restore all content
afterwards so that b2Evolution finds the same environment than before?

Sorry if this is a stupid question but I am not a PHP programmer and
only can do some small adjustements in the code.

Thanks for your help!


Site Timeline