new file:   consoledan.inc.php