585Views3Replies

Author Options:

how to read and write text files in the hard disk using just javascript? Answered

I am creating a webpage for my school so i need to save some data about the students.
I am not sving it in a server because it's working on my computer so please send some script which I can use to abhishekdtvm@yahoo.in!

Discussions

0
None
lemonie

7 years ago

You need to be a bit careful what data you have about students and what you do with it.
Why exactly do you need to go abut it this way, instead of uploading to the server?

L


0
None
orksecurity

7 years ago

Javascript's access to the hard disk is limited, to keep people from writing malicious scripts.

0
None
NachoMahma

7 years ago

. I'm not familiar with JS, but most languages require you to first OPEN the file. You can then READ from (and/or WRITE to) the file before you CLOSE the file. Google is your friend.