serialize

From: Date: Mon, 12 Mar 2001 16:20:14 +0000
Subject: serialize
Groups: php.db php.db 
Request: Send a blank email to php-db+get-7384@lists.php.net to get a copy of this message
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:andrie@ajk.its-sby.edu

« previous php.db (#7384) next »