Is it possible to write to a file (on a disk) using JavaScript?

后端 未结 9 1151
走了就别回头了
走了就别回头了 2020-11-28 14:51

I am a novice-intermediate programmer taking a stab at AJAX. While reading up on JavaScript I found it curious that most of the examples I\'ve been drawing on use PHP for su

9条回答
  •  萌比男神i
    2020-11-28 15:08

    You can use something like Google Gears to produce JS applications which are capable of storing data in a local cache or database. You can't read or write arbitrary areas of the disk though. (This was written in 2009 - Google Gears is now deprecated)

    These days, you should be looking at the local storage capabilities provided by HTML5

提交回复
热议问题