require_once('code/wfpl/file.php');
+require_once('code/wfpl/binary.php');
# call this to set what directory is used to store the files
function fdb_set_dir($dir) {
fdb_set_raw($key, $out);
}
+function fdb_delete($key) {
+ $key = fdb_fix_key($key);
+ $path = fdb_get_dir() . "/$key";
+ if(file_exists($path)) {
+ return unlink($path);
+ }
+ return false;
+}
+
?>