Page 1 of 1

edit code

Posted: Fri May 13, 2005 1:12 am
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

Posted: Fri May 13, 2005 7:54 am
by anjanesh
Never knew this was actually possible in PHP.
What is your output for $t ?