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");
If you register an object as a session variable, do you need to include the
objects class *before* start_session()?
What if I use serialize() on my object, and then register a variable with
the serialized data; then I can start_session(), do some other things, then
include the class definition, t
2 matches
Mail list logo