PHP Classes

File: examples/testsimple.php

Recommend this page to a friend!
  Classes of Jorge Castro   PHP Document Store One   examples/testsimple.php   Download  
File: examples/testsimple.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Document Store One
Store and retrieve key-value pairs in flat files
Author: By
Last change:
Date: 3 years ago
Size: 534 bytes


Class file image Download
use eftec\DocumentStoreOne\DocumentStoreOne;

try {
$flatcon = new DocumentStoreOne(dirname(__FILE__) . "/base", 'tmp','folder');
} catch (
Exception $e) {
"Unable to create document store");




if ($docRead['sid']!=$sid) {
    throw new Exception("sid incorrect");
} else {
    echo "ok";
echo "ok";