PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
Pharasun
Forum Newbie
Posts: 3 Joined: Thu May 12, 2005 4:01 am
Post
by Pharasun » Fri May 13, 2005 1:12 am
My code
Code: Select all
<?php
$shell = new COM("WScript.Shell") or die("Requires Windows Scripting Host");
$key="HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\SystemBiosDate";
$t = $shell->RegRead($key);
print "BIOS date:$t<br/>\n";
?>
I want to check serial number for bios ,harddisk,cpu. How i write to code?
d11wtq | Please read the sticky about posting code in the forums
anjanesh
DevNet Resident
Posts: 1679 Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India
Post
by anjanesh » Fri May 13, 2005 7:54 am
Never knew this was actually possible in PHP.
What is your output for $t ?