Hi,
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 did not reveal much. I appreciate any answer!
Hi,
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 did not reveal much. I appreciate any answer!
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);