passing variables between scripts?

From: Date: Sat, 01 Sep 2001 02:14:44 +0000
Subject: passing variables between scripts?
Groups: php.general 
Request: Send a blank email to php-general+get-65516@lists.php.net to get a copy of this message
I can't cope the fact that I loose my variables every time I reload the page. If someone could point me to the right direction, I'd be grateful. Present problem: I have a script that has some globals (surprise). Within this script, pretty deep in a function call tree, a function saves a query into an array and saves it to a global. Then an user makes an selection and the script reloads itself. After this I'd like to my hands on the saved query, but the global variable where it's saved seems to get initialised on reload. How to get around this? Sessions? I'm pretty new (a forthnight and wery little documentation) to server side programming, so I'm probably misunderstanding some basics. Most of my problems are related to this area, so anyone bold enough to anwer will probably pounded with several questions more. Thank you in advance Jon Thompson Coon

« previous php.general (#65516) next »