Create your TinyWebDB Service remote. Very Easy!!!.

1,149 views
Skip to first unread message

Juan Antonio

unread,
Jan 14, 2017, 10:49:40 AM1/14/17
to mitappinv...@googlegroups.com
Hi friends,

Create your remote TinyWebDB in your hosting by PHP. Very easy.

1.- Upload to your hosting the file: mi_tinywebdb.php

2.- In App inventor Design Properties TinyWebDB: 
ServiceURL=http://kio4.esy.es/mi_tinywebdb.php (my example server)

3.- This file php get tag and value and Store in file mi_tinywebdb.htm

juan antonio:"1234 5678":<br>
pedro:"34 987":<br>

4.- You can request tag and GET tag and value in JSON format.

5.- You can read all "database" Click

http://kio4.esy.es/mi_tinywebdb.htm (example with my server)

6.- You can change field separator (:), change name file mi_tinywebdb.htm,...

7.- This code PHP store repeat tag

juan antonio:"1234 5678":<br>
pedro:"34 987":<br>
juan antonio:"78 12":<br>

you get last line.

8.- This is my Spanish tutorial about this "server"


9.- Works for you?

Regards.


p326A_servidor_tinywebdb_ing.aia
mi_tinywebdb.php

Juan Antonio

unread,
Jan 14, 2017, 10:57:00 AM1/14/17
to MIT App Inventor Forum
Hi friends,

1.- This is other versión code PHP: mi_tinywebdb_v2.php

2.- In App inventor Design Properties TinyWebDB change:
ServiceURL=http://kio4.esy.es/mi_tinywebdb_v2.php (my example server)

3.- Now base data file is: mi_tinywebdb_v2.htm

4.- You can read all "database" Click


5.- With this code php file, tag no repeat.

7.- Works for you?


mi_tinywebdb_v2.php
Reply all
Reply to author
Forward
0 new messages