Hello php-db,
if i have a class
class myDog {
VAR $name;
Function bark();
}
$dog = new myDog;
and i want to pass this class over page. someone in this forum said
to me to use serialize and pass it using cookies.
setcookie("dog", $dog);
the question is, when i used unserialize to get this class from
other page ,
unserialize($dog);
i have found out that i can find my class structure and it values there.
anybody can help me ?
--
Best regards,
andrie mailto:[EMAIL PROTECTED]
--
PHP Database 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]