Mailinglisten-Archive |
Tobias Jülke schrieb
> ich habe folgendes Problem:
>
> Nachdem ich einen neuen Key mit einem zugehörigen Wert in
> eine existierende DBM-Datei schreibe:
>
> $db = dbmopen("user.dbm","w");
> dbminsert($db,"id",$name);
> dbmclose($db);
>
> liegt hinterher immer eine Datei namens "user.dbm.lck"
> im selben Verzeichnis. Ist das normal
Ja.
> was mache ich falsch ?
Du liest das Manual nicht.
dbmopen
[...]
Note that PHP does its own file locking in addition to any file locking
that may be done by the dbm library itself. PHP does not delete the .lck
files it creates. It uses these files simply as fixed inodes on which to
do the file locking.
Guido Haeger
php::bar PHP Wiki - Listenarchive