Solved

HDD Serial in PHP

Posted on 2004-08-18
2
365 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:
Richard Quadling 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:Richard Quadling
ID: 12062936
Anything else?
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

713 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