problems with dbase
| From: | octave klaba | Date: | Tue, 11 Jul 2000 20:02:48 +0000 |
| Subject: | problems with dbase | ||
| Groups: | php.migration | ||
| Request: | Send a blank email to php-migration+get-30@lists.php.net to get a copy of this message | ||
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>";
?>