i think I "found" a bug: http://bugs.php.net/bug.php?id=36172
i used __sleep and __wakeup -> don't work
without __sleep and __wakeup -> it is working :)
>you don't need this. php serializes your objects for you
thats true, thanks :)
--
PHP General Mailing List (http://www.php.net/)
To unsubs
On 19.04.2007 13:17 Tobias Wurst wrote:
hi,
i use serialize() to save my object in $_SESSION.
you don't need this. php serializes your objects for you
But i have one Problem:
the member-variables from the baseclass are not saved.. :(
How can i fix this?
can you provide a small example?
t
[EMAIL PROTECTED] wrote:
Hi,
Is a serialized array a "safe" string to insert into a mysql text field? Or is a
function such as mysql_real_escape_string always needed?
regards
Simon
Seems like you can use mySQL bloob fields and serialize
--
PHP General Mailing List (http://www.php.net/)
To un
to be blunt. then dont use session.auto_start. classes must be defined
before variables can be created based on that class, obviously. the proper
order has to be.
- class definition
- session initialized
--
Chris Lee
[EMAIL PROTECTED]
"Matthieu Brunet" <[EMAIL PROTECTED]> wrote in messag
4 matches
Mail list logo