$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)