Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

HDD Serial in PHP

Posted on 2004-08-18
2
Medium Priority
?
387 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 440 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
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.
Suggested Courses

783 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