明輝手游網(wǎng)中心:是一個免費提供流行視頻軟件教程、在線學習分享的學習平臺!

用PHP讀注冊表

[摘要]shell = new COM("WScript.Shell") or die("This thing requires Windows Scripting Host");registry_proxystring = shell->RegRead(&q...

$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方法寫入

如果有問題,請參考相關資源:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q221081 (出處:Viphot)


相關文章