Instructables

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

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!

lemonie3 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


orksecurity3 years ago
Javascript's access to the hard disk is limited, to keep people from writing malicious scripts.
NachoMahma3 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.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!