[EMAIL PROTECTED] wrote:
Hi there, needing some more advise, is this function correct ?
function create_object($class_name,$dir = null, $serialize = null)
{
$dir ? $dir = $dir."/" : $dir = "";
require_once("".CLASS_PATH.$dir.$class_name.".ph
Yes thats fine, there is a DB and auth and template class i instance
globally, these are across pages aswell should i do the same ?? I dont wont
to go overboard and slow the system down, I'd really want to make it
scalable. These dont store any data as such though like the rest. The
others i instan
>
> If your goal is to store certain objects in sessions and some not, then
> this should be fine. Just be sure that you intend to have only one
> instance of the objects you want to serialize, or hell can still break
> loose :)
>
Yes thats fine, there is a DB and auth and template class i inst
[EMAIL PROTECTED] wrote:
Hi there, needing some more advise, is this function correct ?
function create_object($class_name,$dir = null, $serialize = null)
{
$dir ? $dir = $dir."/" : $dir = "";
require_once("".CLASS_PATH.$dir.$class_name.".php
4 matches
Mail list logo