reintroduced opendb.php