用PHP读注册表
时间:2021-07-01 08:51:39|栏目:PHP代码|点击: 次
$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)
栏 目:PHP代码
下一篇:php命令行(cli)模式下报require 加载路径错误的解决方法
本文标题:用PHP读注册表
本文地址:http://www.codeinn.net/misctech/150880.html






