https://github.com/xtlsoft/xdb
XDB,一个轻量级但不简单的文件数据库,用php编写,只要有php就可以用。
https://github.com/xtlsoft/xdb
Last synced: about 1 year ago
JSON representation
XDB,一个轻量级但不简单的文件数据库,用php编写,只要有php就可以用。
- Host: GitHub
- URL: https://github.com/xtlsoft/xdb
- Owner: xtlsoft
- Created: 2016-10-22T23:11:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-11-07T08:53:39.000Z (over 8 years ago)
- Last Synced: 2025-02-15T08:30:44.426Z (over 1 year ago)
- Language: PHP
- Size: 6.84 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# XDB
## Notice: This Project is no longer supported. Please see https://github.com/xtlsoft/NonDB
XDB,一个轻量级但不简单的文件数据库,用php编写,只要有php就可以用。
版本说明
-------
版本:1.0.1-alpha2,实现了select,where,DB,showDB,showTBL,insert,update,delete,makeDB,makeTBL,dropDB,dropTBL,预计实现,makeUSER,deleteUSER,chpwd,chper
目前还只能include引用 `/xdb/server/index.php` ,日后实现curl远程remote。
如何使用?
-----
使用简单:include我们的/server/index.php,就可以new一个xdb,开始使用。
默认passcode:1234 username:root password:123456
passcode计算:`substr(md5($passcode),8,16)` password计算:`md5(md5(md5(md5($PWD)."X")."D")."B")`
例如:
";
if($xdb->getLogin()[0]){
var_dump($xdb->DB("test")->where("%","%")->select("test"));
}else{
echo $xdb->getLogin[1];
}
?>