yerikmiller / maricutodb Goto Github PK
View Code? Open in Web Editor NEWPHP Flat File Database Manager
Home Page: http://maricuto.xyz/maricutodb
License: MIT License
PHP Flat File Database Manager
Home Page: http://maricuto.xyz/maricutodb
License: MIT License
Deprecated: Optional parameter $Navigation declared before required parameter $PagePosition is implicitly treated as a required parameter in /data/data/user/files/database/maricutodb-master/MaricutoDB/files/write.class.php on line 41
The file /examples/shortener/layout-each-item.php redirect incorrectly to /go
:
$shortened_link = $ACTUAL_LINK.'go/'.$table_id;
When it should be:
$shortened_link = $ACTUAL_LINK.'go/?url='.$table_id;
Or rather, make it skip url
, since it is a shorner, and that is go/?jJAHYiG
with ?
sign.
$shortened_link = $ACTUAL_LINK.'go/?'.$table_id;
In the go
file I would be like this:
$id = $_SERVER["QUERY_STRING"];
Hello, your DB looks very promising.
I have downloaded and trying to learn how to use. Looking at the example shortener, have problem to get working.
First, the "short url" copied (by pressing button) results in 404 file not found:
https://xxxxxxxxx.com/testbed/maricutoDB/MaricutoDB/examples/shortener/go/jJAHYiG
Second, if you search for a shortened URL then copy (by pressing button) getting something like this:
Any ideas what might be wrong?
As a suggestion, be very useful to have more examples based on your documentation.
Thank you for sharing your DB!
Susan
The following example code does not create a database or the appropriate JSON files.
require_once "MaricutoDB/init.php";
MaricutoDB::Create('UsersDB', 'user_n_1', 'name', 'Yorman');
MaricutoDB::Create('UsersDB', 'user_n_1', 'lastname', 'Maricuto');
MaricutoDB::Create('UsersDB', 'user_n_1', 'nick', 'yerikmiller');
$Get = Database::Table('UsersDB', 'user_n_1');
echo 'This is my name: '.$Get->name.'<br>';
echo 'This is my lastname: '.$Get->lastname.'<br>';
Or...
require_once "MaricutoDB/init.php";
$RandomString = Generate::RandomString();
MaricutoDB::Create( 'UsersDB', $RandomString, 'nick', 'carlos_medina1995' );
MaricutoDB::Create( 'UsersDB', $RandomString, 'name', 'Carlos' );
MaricutoDB::Create( 'UsersDB', $RandomString, 'lastname', 'Medina' );
MaricutoDB::Create( 'UsersDB', $RandomString, 'password', 'medinacarlos-1234', TRUE );
$id = Database::OutputId( "UsersDB", "nick", "carlos_medina1995" );
$Get = Database::Table('UsersDB', $id);
echo 'This is my name: '.$Get->name.'<br>';
Is there something I am missing?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.