Solved

HDD Serial in PHP

Posted on 2004-08-18
2
353 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
Comment Utility
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
Comment Utility
Anything else?
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
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…
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…

743 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

16 Experts available now in Live!

Get 1:1 Help Now