Active1 year, 10 months ago
May 07, 2018 Is there a way to find the name of a computer using a serial number. We have two serial numbers, but the name, location, etc. Home > Spiceworks Support > Spiceworks General Support. Find computer name from serial number.
is there a way i can get hard disk serial number or machine serial number with php or javascript on localhost ??
we can get it with following command in cmd
or machine serial number by this
is that possible with php or javascript ??something in php
Need is to give a project to Clint on local host, and i want no one to access it on other computer (in php)
Charles46.5k1212 gold badges9090 silver badges127127 bronze badges
HarinderHarinder70155 gold badges2222 silver badges4747 bronze badges
2 Answers
You can of course use
or
if
wmic
is installed on server and your PHP has permission to run it. The
'2>&1'
part is used from the suggestion here.How To Check Serial Number Laptop
SHAZ2,40266 gold badges1818 silver badges2727 bronze badges
LeninLenin
impossblie. Nothing can break the browser sandbox, otherwize it will be a big security problem.
The only possibility is via ActiveX , but still need to signature and change the IE settings. (no cross platform, not cross browser)
ray_linnray_linn