Is it possible to get the hardware information with php or javascript?

前端 未结 6 1517
孤街浪徒
孤街浪徒 2021-01-29 16:32

Is it possible to get the hardware details with php script.Also is it possible to check whether a pen drive or something is connected to the pc via php script. So when users loa

6条回答
  •  情深已故
    2021-01-29 17:03

    What "hardware details"? What level of detail do you want? PHP generally runs serverside, when users view a webpage php does not run locally on their PC. This is not possible via JavaScript. There are security implications in this concept. Would you want any webpage to be able to find out what's conneccted to your computer, and what the spec of the machine is?

提交回复
热议问题