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 path with mode using handler. 参数
更新日志
add a note
User Contributed Notes
doppelbauer at gmail dot com
20-Oct-2006 10:36
Windows does not support locking the database. You may use $_ENV to determine the OS:
xy t affenkrieger.de
30-Mar-2006 10:13
If you get some strange errors like | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||