明辉手游网中心:是一个免费提供流行视频软件教程、在线学习分享的学习平台!

用PHP读注册表

[摘要]shell = new COM("WScript.Shell") or die("This thing requires Windows Scripting Host");registry_proxystring = shell->RegRead(&q...

$shell = new COM("WScript.Shell") or die("This thing requires Windows Scripting Host");
$registry_proxystring = $shell->RegRead
("HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ProxyServer");

同样可以用RegWrite方法写入

如果有问题,请参考相关资源:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q221081 (出处:Viphot)


相关文章