Re: serialize / unserialize
"Chris Mosser" <cmosser@comcas t.net> wrote in message news:<q-6dnfXMNusUIs6iU-KYgw@comcast.co m>...[color=blue]
> I have seen on a couple posts recently, about "serializin g" and
> "unserializ ing" objects. What exactly does this mean?[/color]
A typical usage of this allows you to 'serialize' the variables in an
object into the $_SESSION array so that you can later reconstruct the
object with all its variables by using 'unserialize'.
Tony Marston
serialize / unserialize
Collapse
This topic is closed.
X
X
-
Guest replied -
Guest repliedRe: serialize / unserialize
thanks..at least I know where to start
--
Chris Mosser
"christophe r vogt" <christopher.vo gt@rwth-aachen.de> wrote in message
news:bj0hg7$5m7 $1@nets3.rz.RWT H-Aachen.DE...[color=blue]
> Hi Chris,
>
> you can transform an variable that contains anything (also an objects)[/color]
into[color=blue]
> a string e.g. for saving it in a database. You do that with the function
> serialize (http://de3.php.net/manual/de/function.serialize.php) und undo[/color]
it[color=blue]
> (for restoring the vars) with unserialize. I'm not sure if there are
> restrictions for objects so that they are not fully "serializab le" but
> you'll get more information on the net or probably in the next posts,
>
> Just Another Chris
>
>[/color]
Leave a comment:
-
Guest repliedRe: serialize / unserialize
Hi Chris,
you can transform an variable that contains anything (also an objects) into
a string e.g. for saving it in a database. You do that with the function
serialize (http://de3.php.net/manual/de/function.serialize.php) und undo it
(for restoring the vars) with unserialize. I'm not sure if there are
restrictions for objects so that they are not fully "serializab le" but
you'll get more information on the net or probably in the next posts,
Just Another Chris
Leave a comment:
-
serialize / unserialize
I have seen on a couple posts recently, about "serializin g" and
"unserializ ing" objects. What exactly does this mean?
--
Chris Mosser
Tags: None
Leave a comment: