Windows does not support locking the database. You may use $_ENV to determine the OS:
$locking = (stripos($_ENV['OS'],'windows') === false ? 'd' : 'l');
dba_open说明resource dba_open ( string path, string mode [, string handler [, mixed ...]] )
dba_open() establishes a database instance for
参数
更新日志
doppelbauer at gmail dot com
20-Oct-2006 02:36
Windows does not support locking the database. You may use $_ENV to determine the OS:
xy t affenkrieger.de
30-Mar-2006 02:13
If you get some strange errors like | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||