Thanks Thorpe - that works, but I don't understand it.
The function in the included file is not part of the ipdsdk class (or any class), and is defined like this:
function load_ipbsdk() {
// Load and Start IPB SDK
require_once "{$_SERVER['DOCUMENT_ROOT']}/forums/ipbsdk/ipbsdk_class.inc.php";
$SDK =& new IPBSDK();
return $SDK;
} //end function load_ipbsdk
and I call it like this and get my new object:
$SDK = load_ipbsdk();
Like I said, it works, but I don't understand why I have to assign the function call to a variable to ge the object?
Thanks