Solved

HDD Serial in PHP

Posted on 2004-08-18
2
356 Views
Last Modified: 2013-12-13
I want to retrive the HDD serial (not format serial, manufacturer serial) by php
thanks
0
Comment
Question by:tinti
  • 2
2 Comments
 
LVL 40

Accepted Solution

by:
RQuadling earned 110 total points
ID: 11840031
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
 
LVL 40

Expert Comment

by:RQuadling
ID: 12062936
Anything else?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now