codetext ($code); header ($_SERVER["SERVER_PROTOCOL"]." $code $text"); $type = reset ($this->allowedtypes); if (isset ($_SERVER["HTTP_ACCEPT"])) { $type = $http->bestChoice ($_SERVER["HTTP_ACCEPT"], $this->allowedtypes, $type); } require_once ("domframework/output$type.php"); $constr = "output$type"; $method = "out"; $obj = new $constr (); $obj->$method ($message); } }