Help with dbm
| From: | Matthew Brealey | Date: | Fri, 01 Dec 2000 18:41:52 +0000 |
| Subject: | Help with dbm | ||
| Groups: | php.db php.general | ||
| Request: | Send a blank email to php-db+get-4939@lists.php.net to get a copy of this message | ||
Script:
http://www.richinstyle.com/crap/testme.phps
<?php
$ptr=dbmopen( "/big/dom/xrichinstyle/www/crap/categories.db", "c");
if (!$ptr) print "damn!!";
print dbmfetch($ptr, "lastindex");
?>
script run as
http://www.richinstyle.com/crap/testme.php
Output: 'Damn' - doesn't create it.
This is despite the fact that the file
http://www.richinstyle.com/crap/categories.db
has permissions 666, and
was even created by php.
Suggestions?
-- Random fortune
Is he the MAGIC INCA carrying a FROG on his shoulders?? Is the FROG
his GUIDELIGHT?? It is curious that a DOG runs already on the ESCALATOR ...