note 1915 deleted from function.dbmopen by philip
| From: | philip@php.net | Date: | Fri, 18 Apr 2008 05:38:42 +0000 |
| Subject: | note 1915 deleted from function.dbmopen by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-138469@lists.php.net to get a copy of this message | ||
Note Submitter: skipatrol at sprintmail dot com
----
If using php3 on a win 95/98 machine, you must have the complete path to the db file. And always
remember that if you user the " mark, add one extra slash before any regular slashes.
Otherwise use the ' and normal slashes.
$dmb = 'd:\httpd\storit\users';
$modify = dbmopen($dmb, "w");
$username = dbmfetch($modify, $email, $username);
$password = dbmfetch($modify, $username, $password);
echo "Current username: $username";
echo "Current password: $password";
exit;