Javascript Guestbook Possible???

ertaboy356b

Old School Gamer
Reaction score
86
Is it possible to create a javascript guestbook with a .txt as a database without using any extension or any serverside scripting whatsoever??
 

Lyerae

I keep popping up on this site from time to time.
Reaction score
105
I don't think it's possible to create files using JavaScript, due to security risks.
Besides, using something like PHP would be better for this, since it doesn't depend on the user having JavaScript.
 

ertaboy356b

Old School Gamer
Reaction score
86
The problem is that I can't use a http server because it is restricted.. The best way to do this is to open a local .htm file from a network drive and post from their without using any server side scripts.. Besides, the internet is restricted in the office I'm working with..
 

ertaboy356b

Old School Gamer
Reaction score
86
Doesn't matter though since the company's computers only uses IE because the main website it needs to visit is using ActiveX
 

ertaboy356b

Old School Gamer
Reaction score
86
Follow Up Question:

How do I change the cursor whenever I want to append.. So for example, I have this in a txt file:

Code:
Data 1
Data 2
Data 3

so when you append, it says that it will write at the very end of the file.. what if I want to overwrite Data 2?
 

Lyerae

I keep popping up on this site from time to time.
Reaction score
105
You could open the file and scan it for the entry.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top