用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]https://support.microsoft.com/default.aspx?scid=kb;en-us;Q221081
[/url] (出处:Viphot)

—-想了解更多的php相关异常处理怎么解决关注<计算机技术网(www.ctvol.com)!!>



本文来自网络收集,不代表计算机技术网立场,如涉及侵权请联系管理员删除。

ctvol管理联系方式QQ:251552304

本文章地址:https://www.ctvol.com/phpttorial/87851.html

(0)
上一篇 2020年4月23日
下一篇 2020年4月23日

精彩推荐