Save/restore variable environment

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 (...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-06-2004
Michael Urspringer
 
Posts: n/a
Default Save/restore variable environment

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:51 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0