problems with dbase
[email protected] (octave klaba) Tue, 11 Jul 2000 22:02:48 +0200
| Newsgroups | php.migration |
|---|---|
| Message-ID | <[email protected]> |
Hi,
we have some problems with dbase running php4.
The creation does not work at all.
php4:
http://ns5.ovh.net/test.php3 (phpinfo)
http://ns5.ovh.net/creation.php3
php3:
http://ns3.ovh.net/test.php3 (phpinfo)
http://ns3.ovh.net/creation.php3
creation.php3 is
<?
// "database" name
$dbname = "base/test.dbf";
// database "definition"
$def =
array(
array("date", "D"),
array("name", "C", 50),
array("age", "N", 3, 0),
array("email", "C", 128),
array("ismember", "L")
);
// creation
if (!dbase_create($dbname, $def))
print "<strong>Error!</strong>";
?>