cool. you and i were talking about two different things. you are using
__sleep and __wakeup by issuing the serialize and unserialize commands
yourself. i am using __sleep and __wakeup when php automatically issues
them itself when using sessions.
it is my experience that if you have an object an
i added a (hopefully helpfull) addition to the
online notes regarding magic-functions:
http://www.php.net/manual/en/language.oop.magic-functions.php
Here's what i posted, if anyone's interested:
Here is a sample class and some test statements to
demonstrate how __sleep() is used.
If you do no
> -Original Message-
> From: Richard Lynch [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 01, 2001 3:52 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: issues with __sleep() and __wakeup()
>
>
> > class Scott {
> > var $svar = array(); // free-form hash for whatever data
> > fu
3 matches
Mail list logo