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
Not with code that runs on server.
But with JavaScript run on client you can use some hardware features. For example camera, microphone, gamepads... See www.gamepadjs.com for example.