Re: Serializing/unserializing objects

From: Date: Mon, 26 Mar 2001 20:35:30 +0000
Subject: Re: Serializing/unserializing objects
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-45643@lists.php.net to get a copy of this message
You'll be reinitializing the object on every page request - objects aren't perisistant across requests. You can make the data in that object persistent - basically recreate the object every page with the old data (PHP4 sessions would be one way to go here) but you won't be able to make the objects themselves persistent. Kevin Beckford wrote: > What I want to do is to use an object to create a site.I plan on > initiaizing the object on my page index.php, and just recycling > index.php with different variables, so that I get different pages. > Ideally, I want the object to read a site config file, so that I can > modify the site config file for different sites which use the same > backend, and have each sites page read that. What is the process of > object creation in php4? What happens when you call new objectname? > Where could I find this out (short of reading the source - I need to do > this by tomorrow...)

« previous php.general (#45643) next »