Mintoris Forum

Author Topic: Web Database  (Read 2012 times)

zakerytclarke

  • Sr. Member
  • ****
  • Posts: 195
Web Database
« on: Jul 19, 2014, 06:03 PM »
I have set up a web server that allows you to store and get plaintext data. This is useful for multiplayer games, chatrooms, and much much more.
SYNTAX:

Include "mbwebdb.bas"
Rem Includes the subroutines
 
webdbpost(tag$,value$)
Rem Posts the value under the given tag

webdbget(tag$,&returnvar$)
Rem Gets the value stored under the given tag and places it in return var$
Rem Make sure to put the & before the returnvar$
Rem All data most be encoded as a string

« Last Edit: Sep 21, 2014, 12:16 PM by prometheus »

zakerytclarke

  • Sr. Member
  • ****
  • Posts: 195
Re: Web Database
« Reply #1 on: Jul 19, 2014, 06:12 PM »
It should be noted that any program can overwrite another programs data. The tag you choose should be specific, as to avoid conflicts with other programs.

zakerytclarke

  • Sr. Member
  • ****
  • Posts: 195
Re: Web Database
« Reply #2 on: Jul 31, 2014, 03:16 PM »
I'd love to hear how this is working and the uses people have come up with.