edit code

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

Post Reply
Pharasun
Forum Newbie
Posts: 3
Joined: Thu May 12, 2005 4:01 am

edit code

Post by Pharasun »

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 :D
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

Never knew this was actually possible in PHP.
What is your output for $t ?
Post Reply