[PHP] Re: serialize an object

2007-04-19 Thread Tobias Wurst
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

[PHP] Re: serialize an object

2007-04-19 Thread for
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

[PHP] Re: Serialize

2006-05-26 Thread Al
[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

[PHP] Re: serialize object & session_auto_start

2001-12-05 Thread Chris Lee
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