Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 397
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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