PHP simple text database with SQL syntax [closed]
Asked Answered
B

4

5

I am looking for a simple text flat database that can work with the SQL-like instructions SELCT, INPUT, UPDATE, DELETE. There is a database that fully satisfies me, but it is for Perl - http://metacpan.org/pod/Sprite I need something like that, but PHP class. Thank you in advance!

Bakehouse answered 26/1, 2011 at 17:8 Comment(1)
Does it need to have text as a backend, or do you just want something portable? In other words, have you considered SQLite?Wellestablished
M
6

Use SQLite. It has a PHP class too here:
http://www.phpclasses.org/package/2107-PHP-SQLite-database-access-wrapper.html

Mucous answered 26/1, 2011 at 17:10 Comment(5)
SQLite is installed in PHP5 by default. php.net/manual/en/book.sqlite.phpHaygood
Not plain text, but at least it's saved in a file not behind a server.Tracey
SQLite is most certainly not a flat file database.Isa
+1. I love that database. I don't get to use it nearly enough.Isa
SQLite is amazing! But this php hosting doesn't support it :(Bakehouse
D
2

Apparently stalled or abandoned but quite what you are looking for:

PHP Text File Database API - PHP Text DB: access Text Files with SQL

PHP Flatfile package - provides equivalents to many common SQL commands

Diabolic answered 1/5, 2011 at 11:42 Comment(0)
M
1

is this what you're looking for? askSam

Meill answered 26/1, 2011 at 17:13 Comment(0)
U
1

file = table folder = database

http://nodb.at/

ASAP - as simple as possible

the idea is like this:

database = folder

table = subfolder

column = file in subfolder

record = a line in column-file ;)

so theoretically you could have a table inside a table or even work with filesystem links (linux ln -sv command)

Uptrend answered 23/9, 2013 at 14:26 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.