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...)
--
PHP General 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]