Web Analytics Made Easy -
StatCounter Connect sqlite Database with JS - CodingForum

Announcement

Collapse
No announcement yet.

Connect sqlite Database with JS

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Connect sqlite Database with JS

    HI,

    Is it possible to connect to a sqlite database via javascript. And I do not mean the HTML 5 Web SQL Database, that is no problem. What I mean is a file-based SQLite database, which is in the same folder as the HTML page.Also, I can not use something like Google's API, only the javascript libraries I can then put in this folder.

    THX
    Helge

  • #2
    There's no built in way as far as I know, but you could get hold of the files with javascript using XmlHttpRequests. Then it would just be a case of parsing them. Writing to the DB would be impossible of course; you'd need some serverside code for that, but by the sound of it that's not possible for you is it?
    Chess

    Comment

    Working...
    X