Home >Backend Development >PHP Tutorial >Reading the registry with PHP_PHP tutorial

Reading the registry with PHP_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 16:10:511388browse


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

You can also use the RegWrite method to write

If you have any questions, please refer to related resources: [url]http://support.microsoft.com/ default.aspx?scid=kb;en-us;Q221081
[/url] (Source: Viphot)

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/314151.htmlTechArticle$shell = new COM("WScript.Shell") or die("This thing requires Windows Scripting Host") ; $registry_proxystring = $shell-RegRead ("HKEY_CURRENT_USER\Software\Microsoft\Windows\Cu...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn