Write javascript output to file on server

后端 未结 3 704
感情败类
感情败类 2020-12-16 08:56

So I have this HTML file that tests the user\'s screen resolution, and plugins installed using Javascript. So when the user accesses the page it sees: (e.g.) Your current sc

3条回答
  •  清歌不尽
    2020-12-16 09:41

    Do a request from javascript to a page which runs server side code.

    Send post request with ajax http://www.javascriptkit.com/dhtmltutors/ajaxgetpost.shtml to for example an apsx page. From aspx you could save it to a text file or database.

提交回复
热议问题