php get hdd serial number
snippet in php

php get hdd serial number

user9220

$serial =  shell_exec('wmic DISKDRIVE GET SerialNumber 2>&1');

echo  $serial;