blob: 04decbe83e3ccc3f0ed5bb2e9c8eab48931e0367 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<?php #vim:ft=php
$dbname = tempnam(dirname(__FILE__), "phpsql");
function cleanup() {
global $db, $dbname;
$db = NULL;
usleep(500000);
@unlink($dbname);
}
register_shutdown_function("cleanup");
$db = new sqlite_db($dbname);
?>
|