title: Get Hard disk serial number with php on server
body: <p>I want to get hard disk serial number.
  while customer registering the form 
  in that HardDiskSerialNumber  i need to store a database table
  How I can I do that? with php .</p>
  
  <p>my code :
  $serial =  shell_exec('wmic DISKDRIVE GET SerialNumber 2>&amp;1');</p>
  
  <p>echo  $serial;</p>