Search code examples
htmlhardware

How to detect users Computer Specs and Hardware


I want to create a page which is able to automatically detect a users computer spec and hardware they are using. Is there some way i can find this out? Has someone perhaps already created something which does this i can use?

The information I am interested in displaying on a web page is:

  • cpu
  • ram
  • mouse
  • keyboard
  • monitor

Solution

  • PHP is a server-side language. You are not able to detect computer specs. However, you can use JavaScript to detect some basic screen related things like resolution, pixel depth, colors etc.

    PHP is able to detect network information and some settings.

    http://www.php.net/manual/en/reserved.variables.server.php