printInfo(); $dbPath = 'tmp/test.dbf'; $def = array( array("date", "D"), array("name", "C", 50), array("age", "N", 3, 0), array("email", "C", 128), array("ismember", "L") ); if (!file_exists($dbPath)){ echo "файл создаётся"; if (!dbase_create($dbPath, $def)) { echo "Error! Unable to create database\n"; } } $db = dbase_open($dbPath, 0) or die("Error! Unable to open database file '$dbPath'."); if ($db) { $column_info = dbase_get_header_info($dbh); print_r($column_info); dbase_close($db); }