想了解用PHP读注册表的相关内容吗,在本文为您仔细讲解的相关知识和一些Code实例,欢迎阅读和指正,我们先划重点:|用P|PH|HP|P读|读注|注册|册表|表|,下面大家一起来学习吧。
$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)