用PHP读注册表
发布时间:2016-12-29 来源:查字典编辑
摘要:$shell=newCOM("WScript.Shell")ordie("ThisthingrequiresWindowsScripting...
$shell = new COM("WScript.Shell") or die("This thing requires Windows Scripting Host");
$registry_proxystring = $shell->RegRead
("HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionInternet SettingsProxyServer");
同样可以用RegWrite方法写入
如果有问题,请参考相关资源:[url]http://support.microsoft.com/default.aspx?scid=kb;en-us;Q221081
[/url] (出处:Viphot)