This is a discussion on Save/restore variable environment within the PHP Language forums, part of the PHP Programming Forums category; Hello! I have the following problem: At the beginning of my website based on b2Evolution I include a statistic tool (...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello!
I have the following problem: At the beginning of my website based on b2Evolution I include a statistic tool (TrackPro) with the follwowing commands: session_start(); 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! Michael |
![]() |
| Thread Tools | |
| Display Modes | |
|
|