On Tue, 22 Jan 2002 14:21:56 +0530 (IST), you wrote:
> I'm using sessions extremely to do that.
>On Tue, 22 Jan 2002, Floyd Baker wrote:
>> Date: Tue, 22 Jan 2002 01:17:18 -0500
>> From: Floyd Baker <[EMAIL PROTECTED]>
>> To: [EMAIL PROTECTED]
>> Subject: [PHP] Passing. Which method to use?
>> Hi once again.
>> What's the consensus on the best way to pass arrays from page to page?
>> By serializing? But I think it's not recommended?
>> By writing then reading to a text file? Maybe?
>> By inputting to and pulling from db records? Possibilities?
>> Any other?
>> Thanks in advance.
Ok then that makes it unanimous. I will use sessions...
Except it isn't working yet.
I have just put in 4.1.1 and everything seems good with that. I have
been able to pass vars using $_request() etc... But here is the
script I just now tested and it stays at the count of '1'. Other
sessions test scripts do not work either. I was not using sessions
before this install of 4.1.1 either.
Can there be anything, new or old, in 4.1.1 that I need to fix?
As with register_globals and whatever else that has been changed?
Here is the script straight off the tutorial:
//<? //'s here only.
// initialize a session
// register a session variable
// increment and display the value of the counter
echo("You have visited this page $counter times! Don't you have
anything else to do, you bum?!);
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]