Search code examples
javascriptphpsystemhardware

Get a visitor's System Hardware information?


I am working on a "system requirements" project - where I need to know my visitors system hardware. It must work online. I know I can get the visitors GPU info but can't get CPU, RAM, HDD, etc.

Is it possible to obtain a visitor's hardware information?


Solution

  • In short, no.

    PHP runs on the server and only has access to it and data sent to it.

    Javascript runs on the client but is sandboxed and has no direct access to the hardware layer (just limited information about the GPU).

    All services that do offer this kind of "scanning" (nVidia, etc) - use a downloadable application that scans the hardware for that platform then returns the result to the web service.

    So you can do it, but you would need some additional software that can run on the client machine that can access the data you require.