note 17798 added to ref.dbase
| From: | vkchengm at hotmail dot com | Date: | Tue, 25 Dec 2001 19:09:02 +0000 |
| Subject: | note 17798 added to ref.dbase | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-23831@lists.php.net to get a copy of this message | ||
unable to do with the codes below!?
---------
<html>
<body>
<?php
$dbname = "/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 (!dbase_create($dbname, $def))
print "<strong>Error!</strong>";
?>
</body>
</html>
---------
then getting something like this
---------
X-Powered-By: PHP/4.1.0 Content-type: text/html
Fatal error: Call to undefined function: dbase_create() in
e:\inetpub\wwwroot\checknumbers\done\default.php on line 13
PHP Warning: 3ÀÃQD$Vø
: Unable to initialize module Module
compiled with debug=0, thread-safety=16 module API=6180880 PHP compiled with debug=0,
thread-safety=1 module API=20010901 These options need to match in Unknown on line 0
---------
Can anyone help? I'm using php 4.1.0 with XP professional and also removed the comment in the
'extensions' of the php.ini.
Thanks and regards
Matthew
--
http://www.php.net/manual/en/ref.dbase.php
http://master.php.net/manage/user-notes.php?action=edit+17798
http://master.php.net/manage/user-notes.php?action=delete+17798
http://master.php.net/manage/user-notes.php?action=reject+17798