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 Quote 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 (edited) 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 ... Edited December 4, 2013 by requinix Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.