手机
当前位置:查字典教程网 >编程开发 >php教程 >用PHP读注册表
用PHP读注册表
摘要:$shell=newCOM("WScript.Shell")ordie("ThisthingrequiresWindowsScripting...

$shell = new COM("WScript.Shell") or die("This thing requires Windows Scripting Host");

$registry_proxystring = $shell->RegRead

("HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionInternet SettingsProxyServer");

同样可以用RegWrite方法写入

如果有问题,请参考相关资源:[url]http://support.microsoft.com/default.aspx?scid=kb;en-us;Q221081

[/url] (出处:Viphot)

【用PHP读注册表】相关文章:

用PHP产生动态的影像图

使用PHP的错误处理

PHP出错界面

PHP的基本语法

用在PHP里的JS打印函数

用PHP发电子邮件

使用PHP模拟HTTP认证

PHP 和 COM

用PHP编写PDF文档生成器

用PHP和MySQL保存和输出图片

精品推荐
分类导航