note 48382 added to ref.dba
| From: | jason at osu1 dot php dot net | Date: | Tue, 21 Dec 2004 15:33:32 +0000 |
| Subject: | note 48382 added to ref.dba | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-82130@lists.php.net to get a copy of this message | ||
Don't make the dumb mistake I did, if you copy the first example at the top and modify it for
test, the dba_open specifies "n" which will truncate the database that you are pointing
to. Make sure you change it to "r" if you just want to read from an existing dbm file.
----
Manual Page -- http://www.php.net/manual/en/ref.dba.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+48382
Delete -- http://master.php.net/manage/user-notes.php?action=delete+48382&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48382&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48382&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48382&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48382&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48382&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+48382&report=yes
Search -- http://master.php.net/manage/user-notes.php