> $foo_object = CreateObject('FooObject'); :D How would it look you reckon ?
function CreateObject($class) { include('$class.".php"'); return new $class; } ?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php