$shell = new COM("") 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 write it using the RegWrite method
If you have any questions, please refer to the relevant resources: [url]/?scid=kb;en-us;Q221081
[/url] (Source: Viphot)