SQLite wrapper for PEAR:DB

I have been working on a wrapper class around SQLite for PEAR:DB [1]. The main difference between SQLite and other known databases is probably, that it does not run as a server but a commandline executable, which is also available via an API. So the DSN is a bit abused to something like \”sqlite:///c:/temp/database.db\”. The wrapper is not yet placed in PEAR. But you can simply move the file \”sqlite.php\” to \”PEAR/DB/sqlite.php\”.

[1] http://www.circle.ch/php/files/DB_sqlite/

Leave a Reply