2017년 7월 6일 목요일

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


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?


--

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

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

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

7.- Works for you?

--

댓글 없음:

댓글 쓰기