yosibeck Posted December 4, 2013 Share Posted December 4, 2013 Hi Folks, Is it possible to read the hardware serial number of a USB stick from a php script running on that stick? I have a script running on usb under XAMPP and want it to read the serial number. So far on the web I only found c++ and similar solutions but not PHP. Thanks Yossi Link to comment https://forums.phpfreaks.com/topic/284510-get-hardware-serial-number-of-usb-stick-with-php/ Share on other sites More sharing options...
requinix Posted December 4, 2013 Share Posted December 4, 2013 You'd have to use a shell command, like dir on Windows, to get it. C:\>dir Volume in drive C has no label. Volume Serial Number is 9675-8706 ... Link to comment https://forums.phpfreaks.com/topic/284510-get-hardware-serial-number-of-usb-stick-with-php/#findComment-1461207 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.