Plutarck wrote:
> The way I do it is to stick all those global variables into an include file,
> which I usually named something like global.php.
Um no. These aren't static variables. They change from page to
page. For example, page one
$foo=0, $bar=3, $baz='Closed'
They follow a particular link that changes them to,
$foo=1, $bar=3, $baz='Open'
They follow yet another link, and this time only $bar changes,
$foo=1, $bar=2, $baz='Open'
Right now, the way I've always done that was to include it in the
URL: next_page.php?foo=0$bar=3&baz='Closed' - they follow a link, and
those variables get tacked again. If it's a form, I pass hidden input
tags.
But, there's got to be a better, transparent way of doing this. No?
AMK4
--
H | Hi, I'm currently out of my mind. Please leave a message. BEEEEP!
|____________________________________________________________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
Director of Internet Operations / SysAdmin . 800.441.3873 x130
Photo Craft Laboratories, Inc. . eFax 248.671.0909
http://www.pcraft.com . 3550 Arapahoe Ave, #6
.................. . . . . Boulder, CO 80303, U.S.A.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]