Re: Dear PHP guy

From: Date: Sun, 15 Jul 2001 11:50:03 +0000
Subject: Re: Dear PHP guy
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-5566@lists.php.net to get a copy of this message
> But, unfortunately, not even the searches can help me. > I searched for a forum, but found none. See http://php.net/support.php We have mailing list, no forums. The mailing lists re piped to the news.php.net news server. There is an experimental web interface for that news server: http://news.php.net/ > How do I save a class with all of it's current > variables and re-load them successfully? I mean, save > the class, goto another PHP program, re-load the > entire thing, just like in the program that saved it? > No variables changed or anything. See serialize() and unserialize(). This way you have a string you can save in a file, and reload with unserialize. Goba [one webmaster@php.net]

« previous php.mirrors (#5566) next »