PDA

View Full Version : send and recive simple data, from js to DB


jarek108
07-25-2008, 08:54 AM
I'm using js in greasemonkey to get some simple string data from web page.
now i'd like to send them and store them in a DB.

questions:
1. how to set up easiest small DB that can receive and store that.
2. how to send data so this DB can store it.
3. how to ask it for data(if a given string is present).

i'm very new to all that and spend a lot of time experimenting and reading,and i need solution fast. perhaps some guru can help me with some code and info.


perhaps there is a easier way than that? some ready tools/scripts etc? any help appreciated

abduraooft
07-25-2008, 09:08 AM
Javascript is purely client side script and is not capable to perform server side operations like DB access. Though you could invoke a server side script by javascript via Ajax

jarek108
07-25-2008, 09:33 AM
so could i send a string to some local server side app and make it put it in a DB for me?

do you know such a server side app. example that could do that?
how would i communicate it?
what would be the fastest solution?

thx!