Solved

HDD Serial in PHP

Posted on 2004-08-18
2
378 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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…

626 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