note 1915 modified in dbmopen by ronabop
| From: | ronabop@php.net | Date: | Wed, 04 Oct 2000 14:35:11 +0000 |
| Subject: | note 1915 modified in dbmopen by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6017@lists.php.net to get a copy of this message | ||
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;
http://www.php.net/manual/function.dbmopen.php