Code Monkey home page Code Monkey logo

maricutodb's People

Contributors

yerikmiller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

maricutodb's Issues

deprecated function in write.class.php

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 Shortener redirecting bad to go

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"];

Getting example to work

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:

https://xxxxxxxxx.com/testbed/maricutoDB/MaricutoDB/examples/shortener/searching.php?query=phpgo/eRy10jT8ze

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

Example Code Doesn't Work

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.