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

后端 未结 9 1137
走了就别回头了
走了就别回头了 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条回答
  •  抹茶落季
    2020-11-28 14:55

    No. You could use JavaScript to create an AJAX request to a server-side processing script, but allowing JS to directly write to disk - either client-side or server-side - would be a massive, nasty, glaring, unforgivable browser security hole.

提交回复
热议问题