首页 > 编程 > PHP > 正文

用PHP读注册表

2020-02-17 20:24:27
字体:
来源:转载
供稿:网友

$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方法写入

如果有问题,请参考相关资源:[url]http://support.microsoft.com/default.aspx?scid=kb;en-us;Q221081
[/url] (出处:Viphot)
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表