This is a simple question: How do I access Windows\' registry with PHP and the DOTNET class? What I want to do is to read a value that another program wrote.
Googling di
I found the answer, it works with the COM object:
$wscript = new COM('WScript.Shell'); $a = $wscript->RegRead('HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\etc'); var_dump($a->value);