当前位置:首页 > PHP教程 > PHP基础知识

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

【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:)!