• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 389
  • Last Modified:

HDD Serial in PHP

I want to retrive the HDD serial (not format serial, manufacturer serial) by php
thanks
0
tinti
Asked:
tinti
  • 2
1 Solution
 
Richard QuadlingSenior Software DeveloperCommented:
If you know how to do this in ANY other language other than PHP, then PHP COULD do it.

The sort of C functions I have used to get low level access to a harddrive do not exist in PHP.

Probably the best way is to do the retrieval in C and then call this program from with PHP.

<?php

$sResults = `HDDSerial.exe';

echo $sResults;

?>

The creation of HDDSerial.exe would be via your C compiler.

Richard.
0
 
Richard QuadlingSenior Software DeveloperCommented:
Anything else?
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now