|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-11-23 01:26 UTC] jim
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 04:00:02 2025 UTC |
<?php /** * Creating new databaze ... */ dl("lib/dbase.dll"); $dbf_fields=array( array("short","c",10,0), array("long","c",200,0) ); dbase_create("test.dbf",$dbf_fields); /** * If you try open test.dbf * from any dbase viewer you get * error, because dbase file is * created corrupted ... * Try change lenght 'short' field * to 9 or 11 and try view it from * any dbase viewer ... This is ok. */ $dbase_id=dbase_open("test.dbf",2); dbase_add_record($dbase_id,array("short","looooooooooonnnnnnngggg")); dbase_close($dbase_id); ?> I have binary Win32 distribution (latest), and use it with dbase.dll module. I use XITAMI web server, configured with PHP (filter for *.php3 files is php.exe).