PHP 4.0 Bug #5530: dbase_creation does not work
| From: | octave at ovh dot net | Date: | Wed, 12 Jul 2000 16:19:50 +0000 |
| Subject: | PHP 4.0 Bug #5530: dbase_creation does not work | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-24199@lists.php.net to get a copy of this message | ||
From: octave@ovh.net
Operating system: Linux 2.2.16
PHP version: 4.0.1pl2
PHP Bug Type: dBase related
Bug description: dbase_creation does not work
working on php4.0.1pl2 ->> http://ns3.ovh.net/test.php3
http://ns3.ovh.net/creation.php3 does not work at all
I did test in with the old httpd (compiled with php3) and it works.
So I guest, it is php4 problem.
Octave
# cat creation.php3
<?
// "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>";
?>